lua-users home
lua-l archive

day-of-week algorithm

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


My API delivers dates in the form yyyy-mm-dd but my design team wants DDD dd (i.e. Tue 14).

Can anyone point me at a reliable algorithm for calculating day-of-week from a standard datestamp?

Dave Collins

Front-End Engineer

Mercatus Technologies Inc.
60 Adelaide Street East, Suite 700
Toronto ON M5C 3E4
T 416 603 3406 x 298
F 416 603 1790

dave.collins@mercatustechnologies.com

www.mercatustechnologies.com


AltStyle によって変換されたページ (->オリジナル) /