Date/time calculations

  • Thread starter Thread starter John
  • Start date Start date
J

John

Hi

How can I check if the value stored in a datetime variable is over an hour
earlier than current date time?

Thanks

Regards
 
How can I check if the value stored in a datetime variable is over an hour
earlier than current date time?

If yourDateTime < DateTime.Now.AddHours(-1) Then ...


Mattias
 
Many thanks for that. Would be grateful for a link on how to handle xml
files.

Thanks

Regards
 
Back
Top