Warning: Use of undefined constant Symbol - assumed 'Symbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215 Warning: Use of undefined constant JavaScriptSymbol - assumed 'JavaScriptSymbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215

dojox/dtl/utils/date.js

  • Provides:

    • dojox.dtl.utils.date
  • Requires:

    • dojox.date.php in common
  • dojox.dtl.utils.date.format

    • parameters:
      • date: (typeof Date)
      • format: (typeof String)
    • type
      Function
  • dojox.dtl.utils.date.timesince

    • parameters:
      • d
      • now
    • summary
      Takes two datetime objects and returns the time between then and now
      as a nicely formatted string, e.g "10 minutes"
    • description
      Adapted from http://blog.natbat.co.uk/archive/2003/Jun/14/time_since
    • type
      Function
  • dojox.dtl.utils.date._chunks

    • type
      Array
  • dojox.dtl.utils.date._months_ap

    • type
      Array
  • dojox.dtl.utils.date.DateFormat

    • type
      Function
    • chains:
      • dojox.date.php.DateFormat.prototype: (prototype)
    • parameters:
      • format: (typeof String)
  • dojox.dtl.utils.date.DateFormat.f

    • summary
      Time, in 12-hour hours and minutes, with minutes left off if they're zero.
    • description
      Examples: '1', '1:30', '2:05', '2'
      Proprietary extension.
    • type
      Function
  • dojox.dtl.utils.date.DateFormat.N

    • summary
      Month abbreviation in Associated Press style. Proprietary extension.
    • type
      Function
  • dojox.dtl.utils.date.DateFormat.P

    • summary
      Time, in 12-hour hours, minutes and 'a.m.'/'p.m.', with minutes left off
      if they're zero and the strings 'midnight' and 'noon' if appropriate.
    • description
      Examples: '1 a.m.', '1:30 p.m.', 'midnight', 'noon', '12:30 p.m.'
      Proprietary extension.
    • type
      Function
  • dojox.dtl.utils.date

    • type
      Object
  • dojox.dtl.utils

    • type
      Object
  • dojox.dtl

    • type
      Object
  • dojox

    • type
      Object