Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Converting UTC time to String

Converting UTC time to String

Scheduled Pinned Locked Moved Visual Basic
xmlhelp
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    Chris Quick
    wrote on last edited by
    #1

    I am attempting to convert a UTC time into a normal date and time using a dataset and the dataset's .GetXML() method. I currently have the following UTC Time: 2004-08-16T16:30:54.0000000-05:00 I would like it to display as: 8/16/2004 4:30:54 PM This is so that when I create an Excel file through XSLT, I can set the column type to Date and then have a date that is User Friendly. Thanks for any help that can be provided.

    A 1 Reply Last reply
    0
    • C Chris Quick

      I am attempting to convert a UTC time into a normal date and time using a dataset and the dataset's .GetXML() method. I currently have the following UTC Time: 2004-08-16T16:30:54.0000000-05:00 I would like it to display as: 8/16/2004 4:30:54 PM This is so that when I create an Excel file through XSLT, I can set the column type to Date and then have a date that is User Friendly. Thanks for any help that can be provided.

      A Offline
      A Offline
      Anonymous
      wrote on last edited by
      #2

      Daytime, Internet Time Service Class By Alastair Dallas http://www.thecodeproject.com/vb/net/daytime.asp

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups