cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Submit your abstract to the call for content for Discovery Summit Americas by April 23. Selected abstracts will be presented at Discovery Summit, Oct. 21- 24.
Discovery is online this week, April 16 and 18. Join us for these exciting interactive sessions.
Choose Language Hide Translation Bar
tom_abramov
Level V

converting a date from a string into a JMP date : AM/PM vs 24hr time problems

Hi,

I'm having trouble converting values like 

08:49:46 PM
10:30:46 AM

from Character Column to Numeric h:m:s 24h format.

I would like to run the conversion without JSL and without depending on Operation system time format. 

 

Please assist.

Regards,

Tom.

1 REPLY 1
gzmorgan0
Super User (Alumni)

Re: converting a date from a string into a JMP date : AM/PM vs 24hr time problems

Change your format to Duration, or  Format( "hr:m:s", 13, 0 ).  Note the other format with AM and PM is Format("h:m:s",13,0)