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/date/php.js

  • Provides:

    • dojox.date.php
  • Requires:

    • dojo.date in common
    • dojox.string.tokenize in common
  • dojox.date.php.DateFormat

    • type
      Function
    • parameters:
      • format: (typeof String)
    • summary
      Format the internal date object
  • dojox.date.php.DateFormat.weekdays

    • type
      Array
  • dojox.date.php.DateFormat.weekdays_3

    • type
      Array
  • dojox.date.php.DateFormat.months

    • type
      Array
  • dojox.date.php.DateFormat.months_3

    • type
      Array
  • dojox.date.php.DateFormat.monthdays

    • type
      Array
  • dojox.date.php.DateFormat.format

    • parameters:
      • date: (typeof Date)
    • type
      Function
  • dojox.date.php.DateFormat.format.date

  • dojox.date.php.DateFormat.d

    • summary
      Day of the month, 2 digits with leading zeros
    • type
      Function
  • dojox.date.php.DateFormat.D

    • summary
      A textual representation of a day, three letters
    • type
      Function
  • dojox.date.php.DateFormat.j

    • summary
      Day of the month without leading zeros
    • type
      Function
  • dojox.date.php.DateFormat.l

    • summary
      A full textual representation of the day of the week
    • type
      Function
  • dojox.date.php.DateFormat.N

    • summary
      ISO-8601 numeric representation of the day of the week (added in PHP 5.1.0)
    • type
      Function
  • dojox.date.php.DateFormat.S

    • summary
      English ordinal suffix for the day of the month, 2 characters
    • type
      Function
  • dojox.date.php.DateFormat.w

    • summary
      Numeric representation of the day of the week
    • type
      Function
  • dojox.date.php.DateFormat.z

    • summary
      The day of the year (starting from 0)
    • type
      Function
  • dojox.date.php.DateFormat.W

    • summary
      ISO-8601 week number of year, weeks starting on Monday (added in PHP 4.1.0)
    • type
      Function
  • dojox.date.php.DateFormat.F

    • summary
      A full textual representation of a month, such as January or March
    • type
      Function
  • dojox.date.php.DateFormat.m

    • summary
      Numeric representation of a month, with leading zeros
    • type
      Function
  • dojox.date.php.DateFormat.M

    • summary
      A short textual representation of a month, three letters
    • type
      Function
  • dojox.date.php.DateFormat.n

    • summary
      Numeric representation of a month, without leading zeros
    • type
      Function
  • dojox.date.php.DateFormat.t

    • summary
      Number of days in the given month
    • type
      Function
  • dojox.date.php.DateFormat.L

    • summary
      Whether it's a leap year
    • type
      Function
  • dojox.date.php.DateFormat.o

    • summary
      ISO-8601 year number. This has the same value as Y, except that if
      the ISO week number (W) belongs to the previous or next year, that year is used instead. (added in PHP 5.1.0)
      TODO: Figure out what this means
    • type
      Function
  • dojox.date.php.DateFormat.Y

    • summary
      A full numeric representation of a year, 4 digits
    • type
      Function
  • dojox.date.php.DateFormat.y

    • summary
      A two digit representation of a year
    • type
      Function
  • dojox.date.php.DateFormat.a

    • summary
      Lowercase Ante meridiem and Post meridiem
    • type
      Function
  • dojox.date.php.DateFormat.b

    • summary
      Uppercase Ante meridiem and Post meridiem
    • type
      Function
  • dojox.date.php.DateFormat.B

    • summary
      Swatch Internet time
      A day is 1,000 beats. All time is measured from GMT + 1
    • type
      Function
  • dojox.date.php.DateFormat.g

    • summary
      12-hour format of an hour without leading zeros
    • type
      Function
  • dojox.date.php.DateFormat.G

    • summary
      24-hour format of an hour without leading zeros
    • type
      Function
  • dojox.date.php.DateFormat.h

    • summary
      12-hour format of an hour with leading zeros
    • type
      Function
  • dojox.date.php.DateFormat.H

    • summary
      24-hour format of an hour with leading zeros
    • type
      Function
  • dojox.date.php.DateFormat.i

    • summary
      Minutes with leading zeros
    • type
      Function
  • dojox.date.php.DateFormat.s

    • summary
      Seconds, with leading zeros
    • type
      Function
  • dojox.date.php.DateFormat.e

    • summary
      Timezone identifier (added in PHP 5.1.0)
    • type
      Function
  • dojox.date.php.DateFormat.I

    • summary
      Whether or not the date is in daylight saving time
      TODO: Can dojo.date do this?
    • type
      Function
  • dojox.date.php.DateFormat.O

    • summary
      Difference to Greenwich time (GMT) in hours
    • type
      Function
  • dojox.date.php.DateFormat.P

    • summary
      Difference to Greenwich time (GMT) with colon between hours and minutes (added in PHP 5.1.3)
    • type
      Function
  • dojox.date.php.DateFormat.T

    • summary
      Timezone abbreviation
    • type
      Function
  • dojox.date.php.DateFormat.Z

    • summary
      Timezone offset in seconds. The offset for timezones west of UTC is always negative,
      and for those east of UTC is always positive.
    • type
      Function
  • dojox.date.php.DateFormat.c

    • summary
      ISO 8601 date (added in PHP 5)
    • type
      Function
  • dojox.date.php.DateFormat.r

    • summary
      RFC 2822 formatted date
    • type
      Function
  • dojox.date.php.DateFormat.U

    • summary
      Seconds since the Unix Epoch (January 1 1970 00:00:00 GMT)
    • type
      Function
  • dojox.date.php.format

    • parameters:
      • date: (typeof Date)
      • format: (typeof String)
    • summary
      Get a formatted string for a given date object
    • type
      Function
  • dojox.date.php.DateFormat.constructor.prototype.regex

    • type
      Object
  • dojox.date.php.DateFormat.tokens

    • type
      Object
  • dojox.date.php.DateFormat.replacements

  • dojox.date.php

    • type
      Object
  • dojox.date

    • type
      Object
  • dojox

    • type
      Object