Difference between revisions of "Date 1 0"
From ADF Docs
Line 14: | Line 14: | ||
== Functions == | == Functions == | ||
− | :[[Date_1_0-csDateFormat|csDateFormat]] | + | <div id='library-api'> |
− | + | :[[Date_1_0-csDateFormat|csDateFormat]] ( string dateInput, string timeInput ) | |
− | + | :[[Date_1_0-firstDayOfWeek|firstDayOfWeek]] ( date inDate ) | |
− | :[[Date_1_0-firstDayOfWeek|firstDayOfWeek]] | ||
::Returns a date. | ::Returns a date. | ||
− | + | :[[Date_1_0-firstOfMonth|firstOfMonth]] ( string inMonth, string inYear ) | |
− | |||
− | :[[Date_1_0-firstOfMonth|firstOfMonth]] | ||
::Returns date for first of month | ::Returns date for first of month | ||
− | + | :[[Date_1_0-firstOfYear|firstOfYear]] ( string theYear ) | |
− | + | :[[Date_1_0-getMeridiem|getMeridiem]] ( string dateTime ) | |
− | :[[Date_1_0-getMeridiem|getMeridiem]] | ||
::Depending on the time of day returns AM/PM | ::Depending on the time of day returns AM/PM | ||
− | + | :[[Date_1_0-lastDayOfWeek|lastDayOfWeek]] ( date inDate ) | |
− | |||
− | :[[Date_1_0-lastDayOfWeek|lastDayOfWeek]] | ||
::Given the current date find out what the last day of the week is | ::Given the current date find out what the last day of the week is | ||
− | + | :[[Date_1_0-lastOfMonth|lastOfMonth]] ( string inMonth, string inYear ) | |
− | |||
− | :[[Date_1_0-lastOfMonth|lastOfMonth]] | ||
::Returns last date of month | ::Returns last date of month | ||
+ | :[[Date_1_0-lastOfYear|lastOfYear]] ( string theYear ) | ||
+ | </div> |
Latest revision as of 12:47, 9 April 2010
Attention: Do not change any text in the description, properties, and functions sections.
Return to Library (API)
Description
Date Utils functions for ADF Library
Properties
- version = 1_0_0
- wikiTitle = Date_1_0
- type = singleton
Functions
- csDateFormat ( string dateInput, string timeInput )
- firstDayOfWeek ( date inDate )
- Returns a date.
- firstOfMonth ( string inMonth, string inYear )
- Returns date for first of month
- firstOfYear ( string theYear )
- getMeridiem ( string dateTime )
- Depending on the time of day returns AM/PM
- lastDayOfWeek ( date inDate )
- Given the current date find out what the last day of the week is
- lastOfMonth ( string inMonth, string inYear )
- Returns last date of month
- lastOfYear ( string theYear )