Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

datetime field expression needed so results are in military time

Status
Not open for further replies.

kernal

Technical User
Feb 27, 2001
415
US
I have a datetime "POSTING_DTTM" field and when I view the mysql statement that peoplesoft query automatically creates it has SELECT TO_CHAR(POSTING_DTTM,'YYYY-MM-DD-HH24.MI.SS."000000"') and I thought the time part would retrieve as military time but they are coming up as am\pm (i.e. 08/06/2008 02:52:43 PM).

I need to have the time be in military time (08/06/2008 14:52:43).

Any help would be appreciated.

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top