View Single Post
Old Mar 26th, 2008, 7:09 PM   #2
Freaky Chris
Hobbyist Programmer
 
Freaky Chris's Avatar
 
Join Date: Dec 2007
Location: England
Posts: 130
Rep Power: 1 Freaky Chris is on a distinguished road
Send a message via MSN to Freaky Chris
Re: scheduled events

just retrive the system clock time and the check to see if it equal to the time you are after... surely that would work no.

Somehting like this

C# Syntax (Toggle Plain Text)
  1. DateTime theDate = DateTime.Parse("27 Mar 2008 00:26:00");
  2. if (DateTime.Now => theDate)
  3. {
  4. MessageBox.Show((DateTime.Now).ToString());
  5. }

Last edited by Freaky Chris; Mar 26th, 2008 at 7:29 PM.
Freaky Chris is offline   Reply With Quote