David,
In addition to the other comments about formatting, which is probably what
you want as you to "assign to some labels".
In calculations: You can use DateTime.Date to get just the Date part of a
DateTime. You can use DateTime.TimeOfDay to get just the Time part of a
DateTime.
Hope this helps
Jay
"David" <da*********@hotmail.com> wrote in message
news:eI**************@TK2MSFTNGP15.phx.gbl...
Hello.
How can I get only date or only time from DateTime.Now?
For example I want to assign current date and current time to some labels.
Thank you.