Convert Date

  • Thread starter Tamar Solutions
  • Start date
T

Tamar Solutions

Hi - I am trying to convert the following info (WMI BIOS) to a DateTime
object - Is there a way to do this -

ReleaseDate
Data type: datetime
Access type: Read-only

Release date of the Windows BIOS in the Coordinated Universal Time (UTC)
format of YYYYMMDDHHMMSS.MMMMMM(+-)OOO.




cheers

JlhJ
 
T

The Last Gunslinger

Tamar said:
Hi - I am trying to convert the following info (WMI BIOS) to a DateTime
object - Is there a way to do this -

ReleaseDate
Data type: datetime
Access type: Read-only

Release date of the Windows BIOS in the Coordinated Universal Time (UTC)
format of YYYYMMDDHHMMSS.MMMMMM(+-)OOO.

You can use DateTime.ParseExact
which accepts a string representation of the date to be parsed and a
format specifying what format that string is in.

HTH
JB
 

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