Hello!
I have the following problem:
When I hardcode a date it is formatted as I need:
Code |
---|
Format('20120521104259', "DF='MM/dd/yyyy hh:mm:ss tt'") |
produces 05/21/2012 10:42:59 AM
But I need to format a date which I calculate programmatically as a number:
Code |
---|
Value = 20120521104259; // it supposed to be a string Format(Value, "DF='MM/dd/yyyy hh:mm:ss tt'") |
produces 20 120 521 104 259
How can I convert a string into date?