cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • JMP will suspend normal business operations for our Winter Holiday beginning on Wednesday, Dec. 24, 2025, at 5:00 p.m. ET (2:00 p.m. ET for JMP Accounts Receivable).
    Regular business hours will resume at 9:00 a.m. EST on Friday, Jan. 2, 2026.
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
Pro_DF_2021
Level I

Convert Character Datetime to numeric

I tried the formula scripts posted in other threads with no luck. How to convert timestamp in character to numeric datetime? 

Pro_DF_2021_0-1634626970198.png

 

1 REPLY 1
txnelson
Super User

Re: Convert Character Datetime to numeric

  1. Create a new column
  2. Go into the Col Info dialog and set the format and informat values                                                      txnelson_0-1634640004507.png
  3. Enter the following formula for the new column to convert the character column to a JMP Date Time value
    Informat( Word( 1, :timestamp, "U" ), "yyyy-mm-dd-Thh:mm:ss" )
    txnelson_2-1634640223308.png

     

Jim

Recommended Articles