From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how do i get time

how do i get the date?

i know that today is 4/1/2008 by using the get date/time function..
but how do
i make a string for 4
make a string for 1
make a string for 2008

Best regards,
Krispiekream
0 Kudos
Message 1 of 4
(2,253 Views)
yeah..that was my first try..
%m = 04
%d = 01
%y = 08
can i get 2008 instead of 08?
anyway to do that?
Best regards,
Krispiekream
0 Kudos
Message 3 of 4
(2,247 Views)
got it..
use %Y instead of %y

thank you for the quick response!


Message Edited by krispiekream on 04-01-2008 08:07 PM
Best regards,
Krispiekream
0 Kudos
Message 4 of 4
(2,244 Views)