marth tanaka:
currently, using this
which gives me, for example, this
However, I am trying to format it like this instead,
So far Im thinking of using something like this,
Any ideas guys?
currently, using this
which gives me, for example, this
However, I am trying to format it like this instead,
So far Im thinking of using something like this,
Any ideas guys?
You need to take care of special cases: 0 and 12 hours, too. Can try this:
int hourInt = Hour(); string hourStr = (hourInt%12==0)? "12": IntegerToString((hourInt>12)?hourInt-12:hourInt); hourStr = (hourInt>=12)? (hourStr+" pm"): (hourStr+" am"); Print (hourStr);
Seng Joo Thio:
worked perfectly, thank you!
You need to take care of special cases: 0 and 12 hours, too. Can try this:

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
which gives me, for example, this
However, I am trying to format it like this instead,
So far Im thinking of using something like this,
Any ideas guys?