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.

NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

day of the year in Teststand 2013

Hi,

 

Is there an easy way (without CVI dll or Vi) to get the day of the year in Teststand 2013?

Thanks,

 

Robert

0 Kudos
Message 1 of 4
(4,654 Views)

Hi Raybie,


There is a dynamic property called: RunState.Root.Locals.StartDate

You can refer to it to get information about the date, year, month weekday and so on. (please find attached a printscreen).

 

Best regards,

IR

 

Message 2 of 4
(4,621 Views)

Hi Raybie,

 

In the attachment you can find a sequence with a statement that calculates the day of the year for you.

I got the formula from this website http://www.epochconverter.com/epoch/daynumbers.php

 

Best regards,

 

Mathijs

 

0 Kudos
Message 3 of 4
(4,596 Views)

Hi Mathijs,

Thanks a lot! This is something I was looking for.

 

Regards,

 

Robert

0 Kudos
Message 4 of 4
(4,559 Views)