70 Topics
|
|
Need help counting the # of days between two dates (ex: 1/2/10 and 1/24/10) Better yet, the # of hours would be a great alternative. |
|
Hi all I have a table that has a datetime column. What I'm trying to do is select the time only like one does when selecting only the day or month from a date column (eg SELECT day(date)) Can anyone tell me how to get this right. Using the following … |
|
(Read Title) I honestly have no idea how to do this. I've tried diagnostics.stopwatch, system.timespan , and system.datetime, but I can't wrap my head around how I would do this. Any suggestions? |
|
Hi, I have a question regarding the date time in C#. I want to get the date and the time in two digit 4 as 08.45am 27/07/2010. How can I get it like this. thankxxxx |
|
I got yesterday a question how to get average date from list of dates, and here's my answer. |
|
Hi, I'm trying to take a date, add a day to it, and then convert it to a string. The date's format starts out like: '10/1/2009', and should end like: '2009-10-1'. I can do that part, but then I can't convert it to a date format and add a day. … |
|
I have a String stored in this format "10/10/2009 12:00:00". I would like to convert this into a DateTime object so I can add it into the Outlook calender. I have tried using the following code but it doesnt seem to work. DateTime startDate = DateTime.Parse(appointments[i]); (where appointments[i] is a … |
|
How would you create a validate statement that shows a message to the user if they enter a value that is 5 years or older than the current date, I have the checking of format for the date if its entered correctly. Currently I have this to valid the format … |
|
Hi real quick one and most likely going to look stupid after this. I need to show the Current Date in a form text box. Also the second textbox I have needs to show the date + 3 (show the date 3 days later). For some reason I can't figure … |
The End.