Re: Time in milliseconds
Re: Time in milliseconds
- Subject: Re: Time in milliseconds
- From: Bill <email@hidden>
- Date: Fri, 30 Jul 2004 23:14:14 +0800
> Is there any way to get the milliseconds part of date/time from
AppleScript.
>
> When I ask for current date, it gives me the day, date, month, year,
hours,
> minutes and seconds but not the milliseconds.
If you're using Mac OS X, you may try:
on milleDT()
try
do shell script "defaults read b"
on error errorText
text 1 thru 23 of errorText
end try
end milleDT
milleDT()
-- "2004-07-30 23:13:36.503"
Regards
bill
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.