Jump to content

Can I set dates in programs?


nowandthen

Recommended Posts

Posted

I don't see an obvious way to set a range of dates for a program to run. Is there any way to do this?

 

For example, to set a range from December 1 to January 7.

Posted

This works, but it requires that you put in multiple "if" conditions for each and every year going forward. If this is something you almost never need, then you can just write the program with multiple "if" conditions for each year going forward 10 or 15 years and call that good enough.

 

If you think that you would be writing lots of date programs like every December, or every 3rd wednesday, or every 3rd day, or every Jan 3rd, and so on, then you should consider downloading the date function programs I wrote a while back.

 

http://www.universal-devices.com/mwiki/ ... _Variables

Guest
This topic is now closed to further replies.

×
×
  • Create New...