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. C#
  4. DateTime.Now returning incorrect results (using Compact Framework)

DateTime.Now returning incorrect results (using Compact Framework)

Scheduled Pinned Locked Moved C#
comdebuggingbeta-testingtoolsquestion
1 Posts 1 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.
  • B Offline
    B Offline
    BlackDice
    wrote on last edited by
    #1

    I have an app that is used on a lot of pocketpc devices. While the app is still in beta, I have written a Trace function to write to a file, and it uses DateTime.Now to log the time. On most of the devices it's on it works correctly. However, on a few of them, it wrote this out a few minutes ago: 4/12/2006 1:30:00 PM when it should've been this: 6/9/2006 4:25:00 PM We've checked and verified that the devices have the correct date and time set, and the file where it's logging this wasn't even created back in April (let alone the Trace function I wrote). Does anyone have any idea why it would be doing this? My Music | My Pics | My Articles BlackDice

    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