Skip to content

Instantly share code, notes, and snippets.

View mannd's full-sized avatar
🏠
Working from home

David Mann mannd

🏠
Working from home
View GitHub Profile
@alokc83
alokc83 / format specifiers in pebble programming
Created June 16, 2013 17:49
format specifier in strftime, or time format in time function in pebble programming
Parameters
format
The following characters are recognized in the format parameter string
format Description Example returned values
Day --- ---
%a An abbreviated textual representation of the day Sun through Sat
%A A full textual representation of the day Sunday through Saturday
%d Two-digit day of the month (with leading zeros) 01 to 31
%e Day of the month, with a space preceding single digits. Not implemented as described on Windows. See below for more information. 1 to 31