ServerJS/DateTime: Difference between revisions

Jump to navigation Jump to search
Line 6: Line 6:


problems to solve
problems to solve
* outputting / parsing datetime
* outputting / parsing datetime
* date calculations / manipulating
* date calculations / manipulating


including TZ conversion? naive datetime's - not knowing about TZ - are easier to handle, though it seems JS has native aware datetime objects. utc & localtime.
including TZ conversion? naive datetime's - not knowing about TZ - are easier to handle, though it seems JS has native aware datetime objects. utc & localtime.
Line 29: Line 29:
  // Is today Friday?
  // Is today Friday?
  Date.today().is().friday();  // true|false
  Date.today().is().friday();  // true|false
* ...
6

edits

Navigation menu