on 12-09-2016 5:04 PM
I'm creating a detail object to convert a string to date/time.
= FormatDate ( [Recon Performed Date & Time] ; "MM/dd/yyyy hh:mm:ss AM ")
The value of [Recon Performed Date & Time] = 10/02/2016 11:52:41 AM but the variable show up like:
10/02/2016 11:52:41 AM10
I've looked for different mask settings but all of the variations fail.
How can I eliminate the "10" after the AM?
Thank you in advance for your time and help!
Thank you Mahboob! I believe I attempted that. I will however rule that out.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Scott,
Simple, to get AM/PM you need to specify "a" instead of "AM". The M in bold in the below formula is assuming that you want to show Monthnumber, as M is used for formatting Month Number. Make sense?
Wrong formula = FormatDate ( [Recon Performed Date & Time] ; "MM/dd/yyyy hh:mm:ss AM")
Correct formula: = FormatDate ( [Recon Performed Date & Time] ; "MM/dd/yyyy hh:mm:ss a")
Checkout this blog:
Also, you might want to use SBOP Web/Desktop Intelligence (client/server) as the Primary tag to tag this question under Webi Intelligence.
Thanks,
Mahboob Mohammed
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.