06-29-2011 06:53 AM
Hello,
i found the "Format Date/Time String function" to create the current date.
But how can i create the currrent calender-week which can be 1..52?
Thanks a lot for help
Solved! Go to Solution.
06-29-2011 07:30 AM
06-29-2011 07:31 AM
How do you want to display this information? It should be easy to do with the vi that you found.
06-29-2011 07:35 AM
Do you just want the date or would you also like time and other thing too? What is your input going to be to determine what week you want?
06-29-2011 07:39 AM
I found the solution in this thread:
http://forums.ni.com/t5/LabVIEW/Date-time-conventions/m-p/168375/page/3?view=by_date_ascending
@wilburwu: The %W is not working (always).
For example 01.01.2013 returns "00" instead of "01"
01.01.2010 returns "00" instead of "53"
Currently i just use the example from the above thread which works fine.
Thanks for the help
06-29-2011 08:30 AM
Hi,
good to know!
Wundering why such kind of bugs are still being found in 2011!