atomman Posted January 19, 2008 Posted January 19, 2008 (edited) i need to convert the PC day, date, month, year, time and timezone into this format, exactly (case sensitive too): Thu, 17 Jan 2008 02:00:00 EST EDIT: should've been more specific -- the only part i'm having a problem with is how to convert the day number to text, and same with month and timezone. the rest is cake. there's a lot of 'date' functions and i don't know where to start. Edited January 19, 2008 by atomman
covaks Posted January 19, 2008 Posted January 19, 2008 (edited) #include <Date.au3> msgbox(1,"",_DateDayOfWeek( @WDAY, 1 ) & ", " & @MDAY & " " & _DateToMonth(@Mon,1) & " " & @YEAR & " " & @HOUR & ":" & @MIN & ":" & @SEC & " " & "EST")I don't know about the timezone. Maybe this will help though: Click me Edited January 19, 2008 by covaks
atomman Posted January 19, 2008 Author Posted January 19, 2008 (edited) EDIT: whoops - spoke too fast. i think i might have the zone figured out. thanks! Edited January 19, 2008 by atomman
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now