C#: Using DateTime.Parse with string
Posted
by Meko
on Stack Overflow
See other posts from Stack Overflow
or by Meko
Published on 2010-05-10T23:03:57Z
Indexed on
2010/05/10
23:04 UTC
Read the original article
Hit count: 259
Hi all.I am trying to get date format from Day name and time like "Monday" and second string "08:15" and it must like 10:05:2010 08:15
and then I will make subtracting from date of today. DateTime.Parse("08:15")
it works but it outputs todays date. I want to get date of day name. I also used
DateTime.Parse("08:15").AddDays(1)it gaves me next day
s date.Here I want to get date of next Monday with and "08:15" time.
© Stack Overflow or respective owner