Previous | Index | Next |
Miscellaneous methods
extraDateValuesFrom:
Pass an AS date or NSDate. Returns an array of {era, year for week of year, week of year, weekday} in the current calendar.
+ (NSArray *)extraDateValuesFrom:(id)ASOrNSDate
ASOrNSDate = an AS date or NSDate
an array of {era, year for week of year, week of year, weekday} in the current calendar
Version 1.3.0
use scripting additions
use framework "Foundation"
use script "BridgePlus"
load framework
get (current date)
--> date "Monday, 23 November 2015 at 11:59:15 AM"
set theResult to current application's SMSForder's extraDateValuesFrom:(current date)
ASify from theResult
--> {1, 2015, 48, 2}
theResult as list
--> {1, 2015, 48, 2}