Steve wrote:
> What is the best/preferred/non-deprecated method for determining the current day of the week?
I don't think any of these CF calls are deprecated.
'---------------
include "Tlbx CFTimeZone.incl"
include "ConsoleWindow"
dim as CFAbsoluteTime at
dim as CFTimeZoneRef tz
dim as SInt32 dow
at = fn CFAbsoluteTimeGetCurrent()
tz = fn CFTimeZoneCopySystem()
dow = fn CFAbsoluteTimeGetDayOfWeek( at, tz )
CFRelease( tz )
print "Day of week:"dow
'---------------