PC Review


Reply
Thread Tools Rate Thread

Day of week time control

 
 
vernon
Guest
Posts: n/a
 
      13th Jun 2007
Let's say I wanted something to occur at specific times (via DDE) on Sunday,
a different thing on Monday -Tue, Wed, Thurs, Fri Sat and continue over and
over.

I see how I can know the day and time, but to use it in a formula escapes
me.
The use is for a simple area based light control in my house.


 
Reply With Quote
 
 
 
 
Roger Govier
Guest
Posts: n/a
 
      13th Jun 2007
Hi Vernon

Maybe
=IF(AND(WEEKDAY(NOW())=1,HOUR(NOW())>=8,HOUR(NOW())<=17),"Switch
on","Switch off")

--
Regards

Roger Govier


"vernon" <there@there> wrote in message
news:%(E-Mail Removed)...
> Let's say I wanted something to occur at specific times (via DDE) on
> Sunday, a different thing on Monday -Tue, Wed, Thurs, Fri Sat and
> continue over and over.
>
> I see how I can know the day and time, but to use it in a formula
> escapes me.
> The use is for a simple area based light control in my house.
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Control appointment time display in Work Week view Paul Microsoft Outlook Calendar 4 3rd Mar 2010 09:21 PM
work week calendar I want to see only my strat time to end time? =?Utf-8?B?QXVkcmV5IFJhY2luZQ==?= Microsoft Outlook Calendar 1 11th May 2006 04:55 PM
Week by week monthcalendar control Lonifasiko Microsoft Dot NET Compact Framework 1 17th Oct 2005 06:36 PM
ASP.NET: Day / Work Week / Week / Month web calendar control with view like MS Outlook Microsoft ASP .NET 3 22nd Dec 2003 10:42 PM
Using Table control in a custom composite control. Control does not render properly in design time. jb_in_marietta@yahoo.com Microsoft ASP .NET 0 1st Jul 2003 10:26 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:04 AM.