lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> On OS X, strftime supports the %s format

OS X supports all of these formats, which could also be included in Lua:

%k	24-hour clock hour with single digits are preceded by a blank
%l	12-hour clock hour with single digits are preceded by a blank
%s	number of seconds since the Epoch
%v	equivalent to %e-%b-%Y
%+	national representation of the date and time