Re: new (I think) time question
Re: new (I think) time question
- Subject: Re: new (I think) time question
- From: Robert Poland <email@hidden>
- Date: Sun, 6 Sep 2009 11:12:17 -0600
On Sep 6, 2009, at 10:52 AM, Yvan KOENIG wrote:
Le 6 sept. 2009 à 18:37:38, Robert Poland a écrit : Hi,
I can deal with hours and minutes but isn't there a way to convert a string (for example"6:01") directly to a time (string")?
For use as; set wakeTime to "6:01" set WakeUpTime to current date set time of WakeUpTime to wakeTime display dialog wakeTime --> error "Can't make "6:01" into type integer"
maybe set wakeTime to "6:01" set WakeUpTime to short date string of (current date) set WakeUpTime to date (WakeUpTime & space & wakeTime) display dialog (time of WakeUpTime) as text
--> 0 Yvan KOENIG (VALLAURIS, France) dimanche 6 septembre 2009 18:52:16
Bob Poland - Fort Collins, CO
|
_______________________________________________
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