70 Topics

Member Avatar for
Member Avatar for reeves14

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.

Member Avatar for iceandrews
0
150
Member Avatar for Venom Rush

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 …

Member Avatar for Ezzaral
0
172
Member Avatar for wade2462

(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?

Member Avatar for Geekitygeek
0
149
Member Avatar for judithSampathwa

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

Member Avatar for Geekitygeek
0
131
Member Avatar for Ramy Mahrous

I got yesterday a question how to get average date from list of dates, and here's my answer.

1
726
Member Avatar for theweirdone

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. …

Member Avatar for TrustyTony
0
253
Member Avatar for baso10

Hello, can you help me convert MS SQL DateTime to miliseconds since 1970? Thanks, Domen

Member Avatar for baso10
0
162
Member Avatar for Drahmina

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 …

Member Avatar for Ravenheart
0
257
Member Avatar for EvilLinux

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 …

Member Avatar for EvilLinux
0
239
Member Avatar for EvilLinux

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 …

Member Avatar for EvilLinux
0
145

The End.