Re: new (I think) time question
Re: new (I think) time question
- Subject: Re: new (I think) time question
- From: Yvan KOENIG <email@hidden>
- Date: Sun, 6 Sep 2009 22:11:42 +0200
Le 6 sept. 2009 à 22:03:22, Robert Poland a écrit : Yvan,
Normally I use AM/PM.
I tried 24h AND even tried Applescript editor instead of Smile. Still I don't get your results.
On Sep 6, 2009, at 1:16 PM, Yvan KOENIG wrote: Le 6 sept. 2009 à 21:05:39, Robert Poland a écrit :
On Sep 6, 2009, at 12:53 PM, Deivy Marck Petrescu wrote: set wakeTime to "6:01" set WakeUpTime to short date string of (current date) set WakeUpTime to date (WakeUpTime & space & wakeTime)
set pad to "0" set h to (time of WakeUpTime) div (1 * hours) if h < 10 then set h to pad & h set m to ((time of WakeUpTime) mod (1 * hours)) div (1 * minutes) if m < 10 then set m to pad & m set s to (time of WakeUpTime) mod (1 * hours) mod (1 * minutes) if s < 10 then set s to pad & s
display dialog (h & ":" & m & ":" & s)
--> 00:00:00
Bob Poland - Fort Collins, CO
What is your system's time setting ?
Here it is 24h time. I guess that you are using AM/PM.
Yvan KOENIG (VALLAURIS, France) dimanche 6 septembre 2009 21:15:47
It seems tha Deivy get the same results than me.
As I'm not a sooth sayer, I can't guess what is playing the game with different rules on your machine. I asked about AM/PM because some days ago, Christopher Nebel explained a difference between my results and Michelle Steiner ones by this setting.
Yvan KOENIG (VALLAURIS, France) dimanche 6 septembre 2009 22:11:36
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden