Jump to content

time error in _DateTimeFormat ?


Recommended Posts

Hi All,

I'm using _DateTimeFormat as follows:

$dateTime=_DateTimeFormat( _NowCalc(),0)

Now what I want (and what I expected) is the date in short format and the time in long format.

However, the time is 04:54:23 regardless wheather it is 04.54 AM or PM

My system time displays 24hrs correctly.

Any suggestions?

Link to comment
Share on other sites

Hi All,

I'm using _DateTimeFormat as follows:

$dateTime=_DateTimeFormat( _NowCalc(),0)

Now what I want (and what I expected) is the date in short format and the time in long format.

However, the time is 04:54:23 regardless wheather it is 04.54 AM or PM

My system time displays 24hrs correctly.

Any suggestions?

<{POST_SNAPBACK}>

use macros. hours for @hour are 24 hour format, and you can format the time/date however you like, with ":" 's "-"'s or "/"...could even seperate values with Q's if you were so inclined...
Link to comment
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...