02-15-2018 08:06 AM
I want to string format a timestamp to: fri, 4 may 2017 13:34:55 -0000
Well, that's really easy with the following instruction: %a, %d %B %Y %H:%M:%S -0000
But unfortunately I am using a Dutch OS and I get: vr, 4 mei 2017 13:34:55 -0000, which obviously is language specific. There are no language independent formatting codes listed in the manual. Doe anyone have a suggestion better than manually mapping these values?
02-15-2018 08:30 AM - edited 02-15-2018 08:31 AM
I think, there shouldn't be "unspecific" language settings. You could see your wish to have an abreviated english date to be coincidental to the fact, that LabVIEW is an original english "speaking" software. Your specification could as well be to have a french abreviated date string. Would you ask then for language unspecific formatting codes?
02-15-2018 08:48 AM - edited 02-15-2018 08:49 AM
This list is quite nice to edit...
02-15-2018 09:28 AM
You could exclude the day of the week and convert the month to a numeric. 04-MAY-2017 could be displayed as (20170504 or 2017-05-04) followed by the time.
02-15-2018 01:33 PM
Agree with minions! See - https://xkcd.com/1179/
02-19-2018 03:35 PM
Thanks for your input, all. It was not my idea to format the timestamp this way. It is a webservice that requires this type of timestamp.