Skip to content

Instantly share code, notes, and snippets.

View peerasak-u's full-sized avatar

Peerasak Unsakon peerasak-u

View GitHub Profile
@peerasak-u
peerasak-u / NSDateFormatter cheat sheet
Created October 1, 2015 10:43 — forked from romaonthego/NSDateFormatter cheat sheet
Date Formats for NSDateFormatter
a: AM/PM
A: 0~86399999 (Millisecond of Day)
c/cc: 1~7 (Day of Week)
ccc: Sun/Mon/Tue/Wed/Thu/Fri/Sat
cccc: Sunday/Monday/Tuesday/Wednesday/Thursday/Friday/Saturday
d: 1~31 (0 padded Day of Month)
D: 1~366 (0 padded Day of Year)