| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| I was wondering why clock scan works as below: % clock scan z 1219336516 % clock scan zz unable to convert date-time string "zz" and also %clock scan "" 1219347325 it works like this with any letter. I saw that in 8.4 it was a bit different always giving 1219266000. what is the hidden cause for this behaviour? |
|
#2
| |||
| |||
| On 27 Aug., 12:42, yahalom <yahal...@gmail.com> wrote: > I was wondering why clock scan works as below: > % clock scan z > 1219336516 > % clock scan zz > unable to convert date-time string "zz" > > and also > %clock scan "" > 1219347325 > > it works like this with any letter. I saw that in 8.4 it was a bit > different always giving 1219266000. > what is the hidden cause for this behaviour? To interpret the number returned by [clock scan], it's usually good to [clock format] it again. I see here: % clock format [clock scan z] Wed Aug 27 14:45:56 CEST 2008 % clock format [clock scan now] Wed Aug 27 12:46:09 CEST 2008 % clock format [clock scan ""] Wed Aug 27 12:46:55 CEST 2008 So "z" gives me 2 hours ahead of "now", even though the specified timezone is the same. |
|
#3
| |||
| |||
| suchenwi wrote: > On 27 Aug., 12:42, yahalom <yahal...@gmail.com> wrote: > >>I was wondering why clock scan works as below: >>% clock scan z >>1219336516 > So "z" gives me 2 hours ahead of "now", even though the specified > timezone is the same. Z ~= ZULU ~= GMT That and the alphabet loot at: http://wwp.greenwichmeantime.com/info/timezone.htm uwe |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.