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