cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • New to JMP? Join us Sept. 23-24 for the Early User Edition of Discovery Summit, tailor-made for new users. Register now for free!
  • Use World Cup data to build models, explore spatial relationships, and create informative visualizations in JMP. Register. July 17, 2 pm US Eastern Time.
  • Your voice matters! Tell us how you prefer to receive JMP updates, so we can tailor our communication to your needs. Take short survey.

JMP Wish List

We want to hear your ideas for improving JMP. Share them here.
Choose Language Hide Translation Bar

Functions to get system time zone

Would like a function to determine the time zone of the system, and whether daylight savings time is active.

1 Comment
Judah
Level II

This would be very helpful.  I do this using a very kludgy method, but I don't have any thing for daylight saving time though.

UTC_offset = Date Difference( Query( Scalar, "select jmpdate( current_timestamp );" ), Today(), "Hour", "Fractional" );
CurrentTime_UTC = As Date( Today() - In Hours( UTC_offset ) );