Results 1 to 3 of 3

Thread: Wrong Date Format

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2003
    Posts
    419

    Wrong Date Format

    Hey guys, I have had this problem for a while and haven't been able to figure it out. For some reason, all timestamps on my computer have the wrong date format. For example, Feb. 23, 2004 shows up as 23/02/04 instead of 02/23/04. Even when I use the Date function in Visual Basic, it shows this format. At first, I thought it was a wrong setting in the time/date properties, though I checked and I have the date and time correct, and I have the timezone set to 'Eastern time' because I live in Pennsylvania, USA. I am using Windows 98SE.
    Code:
    If LostAngel.Tag = "Programming" then
       LostAngel.Caption = "Awake"
    Else
       LostAngel.Caption = "Dreaming of Code"
    End If

  2. #2
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Location
    Ickenham, UK
    Posts
    4,906
    Your dates a displaying in UK format. I think its a lot easier like that

    Anyay to change you need to go to the Regional Options control panel. Ensure that its set it English (United States). Then go to the date tab - from here you should be able to change the way your system displays the date. Change it to:

    mm/dd/yyyy
    PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2

    | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload

    Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am.

    Random VisualAd: Blog - Latest Post: When the Internet becomes Electricity!!


    Spread happiness and joy. Rate good posts.

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2003
    Posts
    419
    Thank you very much, this has been bothering me for a while. I have been in Regional Settings before, but just checked the 'Regional Settings' tab, thinking that if I set it to English(United States) it calibrated everything to US standards.
    Code:
    If LostAngel.Tag = "Programming" then
       LostAngel.Caption = "Awake"
    Else
       LostAngel.Caption = "Dreaming of Code"
    End If

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width