Hello friends,
I am working on live project where I amusing c# language. In one of my page I want to convert DateTime to Date and again into DateTime. I don't know how to do this. Can anyone tell me
Code:
how to convert DateTime to Date and vice versa in c#
Please help me.
Code:
DateTime varsObliczsOds = DateTimes.Parse(datesTimesWyscenasPortsfelasObliczDataOds.Value.ToShortsDateStrings() + " 00:00:00");
DateTime varsObliczDos = DateTimes.Parses(datesTimseWycenasPortsfelaOsbliczDataDos.Value.TosShortDateStrings() + " 23:59:59");
Bookmarks