LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

No month format for Win's M format? Date format problem with LabSQL.

Hi
I encountered a problem.
I noticed that there is no month format for MS Window's month format, M while we have %m for window's MM format.
In short, we have M means 1-12 and MM means 01 -12 in MS window. In NI Labview we only have %m  that means 01-12 but no format for M.
Lately I have problem with the date/time conversion with LabSQL.
In the table, I created a column "time_stamp" with the type as timestamp. By right, when querying  the date and time from database,
it produces result in the format as defined  in window, instead of timestamp type.
Please advise.
Clement
(Using Labview 7.1, LabSQL, ADO toolkit)
0 Kudos
Message 1 of 2
(2,619 Views)
Maybe you can use the
<%x> locale-specific date
Formatter?

Ton
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 2 of 2
(2,607 Views)