datetime

J

John

Hi

How can I separate a datetime field value into date & time values?
Conversely how
can I combine date & time values into a value for a datetime field?

Thanks

Regards
 
W

William Ryan eMVP

If you have a DateTime value it has a Date property for instance as well as
methods like .ToShortTimeString() If you have the pieces, the Constructor
of a DateTime variable allows you to pass in teh pieces and it will
construct it for you.

--

W.G. Ryan, eMVP

Have an opinion on the effectiveness of Microsoft Embedded newsgroups?
Let Microsoft know!
https://www.windowsembeddedeval.com/community/newsgroups
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top