|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
From seconds(long) to date in vb .netHello!
I must convert seconds (long format) into common data format (yy/mm/dd hh:mm:ss). Please help me! Thanks! "funzia" <fun***@gmail.com> schrieb: Check out 'DateTime' ('Date' in Visual Basic) and its methods/properties.> I must convert seconds (long format) into common data format (yy/mm/dd > hh:mm:ss). -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/> 1 second is 1/86400 part of a day.
so, to convert it to a datetime you must use: Date.FromOADate(cdbl(seconds)/86400) funzia wrote: Show quoteHide quote > Hello! > I must convert seconds (long format) into common data format (yy/mm/dd > hh:mm:ss). > Please help me! > Thanks! >
Re: ActiveX raise event - attn Walter Wang
Selecting a single node in 'XML' Constants can't be defined in a namespace. WTH? Math class for Visual Basic.NET (matrix operations) Graph control webreq.getresponse exceptions Application.StartupPath Adding a Web Reference into a Windows Project turn off assertions in VB 2005 Errors in Page directive |
|||||||||||||||||||||||