Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • December 07, 2016, 02:42:25 AM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Change your system's AM and PM  (Read 2658 times)

nite_monkey

  • Member
  • Joined in 2006
  • **
  • Posts: 727
    • View Profile
    • Just Plain Super
    • Read more about this member.
    • Donate to Member
Change your system's AM and PM
« on: April 08, 2007, 03:28:39 PM »
That is a very bad subject, but owell, if you can come up with something better, let me know.
Anyways on with what I found out.
I found this really cool tweek for windows, I don't know what all it works with, but I am using xp pro SP2.
you can change the boring AM and PM on your clock in the system tray to what ever you want, but it has to be 5 characters or less, because anything after that wont show up.
customPM.JPG
here is a screenshot of what my pm timestamp is. I was testing to see how many characters I could use, for that I typed <(O_O)> and <(O_O is all that shows. if you want to do this, then...

'Author:    Frankie Miklos © 2003 PuPpYpc.com
'Date:      8/27/2003

Dim ws, key, am, pm

    Set ws = WScript.CreateObject("WScript.Shell")

    key = "HKCU\Control Panel\International\"

    am = InputBox("Type in the new AM time stamp:", "Change AM Time Stamp", "AM")

    If am <> "" Then
        ws.RegWrite key & "s1159", am
        MsgBox "The AM time stamp has been successfully changed to " & am & "!" & vbNewLine & "Double-click the time in the system tray and click OK", vbInformation, "Success"
    End If
   
    pm = InputBox("Type in the new PM time stamp:", "Change PM Time Stamp", "PM")

    If pm <> "" Then
        ws.RegWrite key & "s2359", pm
        MsgBox "The PM time stamp has been successfully changed to " & pm & "!" & vbNewLine & "Double-click the time in the system tray and click OK", vbInformation, "Success"
    End If
put that code into a new file and save it as whatever.vbs and then you too can change your AM and PM timestamps
edit:I forgot to mention, after you change the timestamps, double click on the clock, and then close the time settings dialog that opens.
[Insert really cool signature here]
« Last Edit: April 08, 2007, 03:32:49 PM by nite_monkey »

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,258
    • View Profile
    • Coding Snacks by Lanux128
    • Read more about this member.
    • Donate to Member
Re: Change your system's AM and PM
« Reply #1 on: April 08, 2007, 09:49:05 PM »
or you also use tClock2 for a GUI approach.. :)

ws-tclock-2_ver001.png

nite_monkey

  • Member
  • Joined in 2006
  • **
  • Posts: 727
    • View Profile
    • Just Plain Super
    • Read more about this member.
    • Donate to Member
Re: Change your system's AM and PM
« Reply #2 on: April 09, 2007, 04:24:40 PM »
with my meathod, you have a some what gui, it was just a quick thing, all it does is change the AM and PM to what ever you type into the box, that seems to be more in depth.
[Insert really cool signature here]

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,258
    • View Profile
    • Coding Snacks by Lanux128
    • Read more about this member.
    • Donate to Member
Re: Change your system's AM and PM
« Reply #3 on: April 09, 2007, 08:39:44 PM »
i can see that, nite_monkey.. i was just pointing out an alternative way to do it.. :)

nite_monkey

  • Member
  • Joined in 2006
  • **
  • Posts: 727
    • View Profile
    • Just Plain Super
    • Read more about this member.
    • Donate to Member
Re: Change your system's AM and PM
« Reply #4 on: April 09, 2007, 08:49:33 PM »
Well I never said you meathod was bad, I just didn't know about your meathod, mine is just a quick one, yours is better, and gives you more control over the time, so its cool
[Insert really cool signature here]