Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Date Format in C#-Help 1

Status
Not open for further replies.

aspengal

Technical User
Dec 27, 2004
41
US
I have a datetime variable and I want to pass the current date in this format to this datetime variable

datetime variable = 12:24:36 00:12:33

How do i do that?
 
ParseExact is significantly faster, but is also much pickier about the formats that it accepts.

Chip H.


____________________________________________________________________
Donate to Katrina relief:
If you want to get the best response to a question, please read FAQ222-2244 first
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top