document.write('
'); var locale = CFLocaleCopyCurrent(); var now = CFDateCreate(NULL, CFAbsoluteTimeGetCurrent()); var formatter = CFDateFormatterCreate(NULL, locale, kCFDateFormatterNoStyle, kCFDateFormatterNoStyle); CFRelease(locale); CFDateFormatterSetFormat(formatter, UIDateFormatStringForFormatType(UINoAMPMTimeFormat)); var time = CFDateFormatterCreateStringWithDate(NULL, formatter, now); document.write('

'); document.write(id(time)); document.write('

'); CFRelease(time); CFDateFormatterSetFormat(formatter, UIDateFormatStringForFormatType(UIWeekdayNoYearDateFormat)); var date = CFDateFormatterCreateStringWithDate(NULL, formatter, now); document.write('

'); document.write(id(date)); document.write('

'); CFRelease(date); CFRelease(formatter); CFRelease(now); document.write('
');