|
-
July 9th, 2012, 03:40 PM
#3
Re: Comparing Time in C# and MySQL
 Originally Posted by thefollower
DateTime constructors include
DateTime(year, month, day, hour,minute,second,...);
Depends on the format of the mysql datetime you retrieve, parse it as another datetime then comparing it with DateTime.Now is also another option.
Thank you! I ended up comparing DateTime.Now and the date from the database (+24 hours)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|