TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Adrian Estran
NA
3
0
Help with DateTime Comparer
Feb 12 2010 5:51 AM
Hi all
I have 4 dates as follows:
Date1: 08/11/2010 12:00:00
Date2: 08/11/2010 12:10:00
Date3: 08/11/2010 12:20:00
Date4: 08/11/2010 12:30:00
The DateTimeNow is equal to 08/11/2010 12:11:10
The four dates correspond to observations times, that is times which observations should be carried out.
I need to get the highest priority observation time. If an observation is late like Date1 and Date2 I need to return Date1 as it is the latest. If all observations are still due I need to return the next soonest observation.
Any help with this would be appreciated, been racking my brains for a while trying to get my head around it.
Regards
Reply
Answers (
3
)
Pblm in downloading directories and files from ftp server using c#
C# - Create TXT file & then execute cmd batch that copies the file to printer