AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Problem getting the right time

 
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
joeeking



Joined: 09 Jun 2009
Posts: 60
Location: Jacksonville, FL

PostPosted: Thu Dec 10, 2009 10:07 pm    Post subject: Problem getting the right time Reply with quote

Hey i want to get the time to show ET, but the time ends up being the time of whatever timezone you are in rather than ET. I think it has to do with the formatting but I don't know what to do with it to get it to work.

Code:

time:= A_NowUTC
time += -5, Hours
FormatTime, time2, time,  hh:mm:ss tt
msgbox %time% and %time2%


[Moved from Scripts & Functions forum. ~jaco0646]
Back to top
View user's profile Send private message
joeeking(Guest)
Guest





PostPosted: Thu Dec 10, 2009 10:16 pm    Post subject: Reply with quote

sorry posted in wrong section but I figured it out
should have time in %
Back to top
Guest






PostPosted: Thu Dec 10, 2009 10:38 pm    Post subject: Reply with quote

joeeking(Guest) wrote:
sorry posted in wrong section

...yes you did...can you help me tho? I'd like to know why so many people post Help questions in Scripts & Functions?...do you know?...or was yours just a one-time mis-click?...can you shed light as to why people click on Scripts & Functions when Ask for Help is so clearly what they need?...I'd really like to know what is so enticing about Scripts & Functions that it's the 1st thing people click when needing to Ask for Help...(even if that sounds mean {hope not}, I'm serious, I'd like to know...& if not you per se, can you think of why others post in Scripts & Functions instead of Ask for Help?...or how to fix it & help them post in the right place?)...
Back to top
WrongSectionAlert
Guest





PostPosted: Thu Dec 10, 2009 10:48 pm    Post subject: Reply with quote

Sad
Back to top
Mobius



Joined: 08 Jun 2008
Posts: 74
Location: New Europe

PostPosted: Thu Dec 10, 2009 10:50 pm    Post subject: Reply with quote



Yum..
_________________
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group