New topic in General: 

Need help with setting a date object

tjones - Mon Jun 09, 2008 6:37 pm

<http://forums.realsoftware.com/viewtopic.php?t=22828>
                                                                                
                                                                                
Hello,
I'm trying to set a date object for sometime in the future based on "Day Of the 
Week" and a time.

Example ...
Tuesday @ 17:15:00

I was hoping that I could do something like this...
Code:
// I know now this does not work
Dim d As New Date
d.DayOfWeek = 3 //DayOfWeek is read only
d.Hour = 17
d.Minute = 15
d.Second = 00



Can someone please explain what I need to do.

Thanks,
tom                                     
                                                                                
                                                                                
                                                                                
                                                                                
                                        




-- 
Over 900 classes with 18000 functions in one REALbasic plug-in. 
The Monkeybread Software Realbasic Plugin v8.1. 

&lt;http://www.monkeybreadsoftware.de/realbasic/plugins.shtml&gt;

[email protected]

Reply via email to