LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
minnellac

Time Control and Indicator display option to ignore time zone.

Status: Declined

Any idea that has received less than 5 kudos within 5 years after posting will be automatically declined.

I'd like to see an option (either in the right-click menu, or in the Time Stamp Properties>>Display Format tab) to ignore the computers local time zone when displaying timestamps. If I receive data from another timezone that has timestamps saved in it, I may want to see those timestamps displayed in UTC instead of my time zone. This is achievable manually by added or substracting as appropriate, but it's annoying.
3 Comments
Lavezza
Active Participant

There is a way to do this, but it isn't documented well.

1) Right click on your Timestamp indicator

2) Select Display Format...

3) Click the Advanced Editing Mode radio button

4) Add a carat (^) after the first % in the format string

 

Example: 

%^<%.3X
%x>T

 

The %<>T container specifies you are formatting an absolute time. The carat ^ tells the container to show Universal Time. Search LabVIEW help for Format Codes for the Time Format String (Open LabVIEW Help, go to Search tab, click the Search Titles Only box on the bottom left, search for Format Codes). You can also add the time zone name with %Z inside the %<>T container.

 

Although I do agreee it would be nice to have an easier way to toggle local vs UTC time.

minnellac
Active Participant
Thanks Lavezza. Somehow I never noticed that. Of course the correlary to this feature would be a display format option to display the time in an arbitrary time zone.
Darren
Proven Zealot
Status changed to: Declined

Any idea that has received less than 5 kudos within 5 years after posting will be automatically declined.