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. Web Development
  3. Date Format Issue ?

Date Format Issue ?

Scheduled Pinned Locked Moved Web Development
helpquestion
3 Posts 3 Posters 1 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.
  • K Offline
    K Offline
    Kamal Afridi
    wrote on last edited by
    #1

    I m using british format date on client machines. The problem is that if any client have US format date then DateDiff funtion calculate wrong number of days. Any idea please....... it is most urgent.. Know Yourself Then Grow Yourself.

    J J 2 Replies Last reply
    0
    • K Kamal Afridi

      I m using british format date on client machines. The problem is that if any client have US format date then DateDiff funtion calculate wrong number of days. Any idea please....... it is most urgent.. Know Yourself Then Grow Yourself.

      J Offline
      J Offline
      jcrussell
      wrote on last edited by
      #2

      use Cultures Jason

      1 Reply Last reply
      0
      • K Kamal Afridi

        I m using british format date on client machines. The problem is that if any client have US format date then DateDiff funtion calculate wrong number of days. Any idea please....... it is most urgent.. Know Yourself Then Grow Yourself.

        J Offline
        J Offline
        JackIsMe777
        wrote on last edited by
        #3

        I might possibly be able to help, however I will need more information: 1. What languages are you using? 2. What is the code supposed to do? You mentioned that it calculates the "wrong number of days". Can you share this section of the code, so I can see what you are working with? 3. How do you want the US date formatted (June 4, 2006, 06.04.2006, etc...) and how do you want the Brittish date formatted? Note: I can't help you, at least someone else who can will have all the info that they need, however I will do my best to answer your question.

        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