LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

calendar get week value

hi..

How can I get the week value from the calendar? I want to make a weekly report and I need to know the start date and the end date of the week. I have found an example in this forum calendar.vi. But unfortunately the vi dont fullfill my requirement. Pls assist me...thanks..

Download All
0 Kudos
Message 1 of 5
(4,686 Views)

Hi gdah,

      It seems clear ICalendar won't provide the WeekDay, so the problem is: how to obtain it - starting with Day-of-month, Month, and Year?

Maybe (probably) somebody will post a more elegant way to do this, but until then perhaps you can use the attached VI.

 

Cheers!

 

"Inside every large program is a small program struggling to get out." (attributed to Tony Hoare)
Message 2 of 5
(4,670 Views)

hi..

I cannot open your attchment..can yo please send the 8.2 version..thanks,...btw..i try using the .NET control MonthCalendar. Do you know how can i get the weekday name (mon, Tue, Wed) for every 1st of month?..I mean automatically will show the weekday name when user select the month and without select the day date. please help me..

0 Kudos
Message 3 of 5
(4,664 Views)

hi gdah,

      Here you go with the LV7.1 (AX) version.  Let's look into the .NET control next - it would certainly help to have a [new] calendar object that offers a WeekDay property!Smiley Wink

 

Cheers. 

Message Edited by tbd on 09-15-2008 02:58 AM
"Inside every large program is a small program struggling to get out." (attributed to Tony Hoare)
Message 4 of 5
(4,649 Views)

Try this. May help

Message 5 of 5
(4,630 Views)