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 18:52:47 +0200
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
Yvan KOENIG (VALLAURIS, France) dimanche 6 septembre 2009 18:52:16 |
_______________________________________________
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