function _invoice_get_possible_date_arguments in Invoice 7
Same name and namespace in other branches
- 6 invoice_helpers.inc \_invoice_get_possible_date_arguments()
Returns all possible date arguments
Return value
array
1 call to _invoice_get_possible_date_arguments()
- _invoice_get_formatted_invoice_number in ./
invoice_helpers.inc - Helper function get a formatted invoice number
File
- ./
invoice_helpers.inc, line 455 - Invoice module
Code
function _invoice_get_possible_date_arguments() {
$possible_date_arguments = array(
// Day
'd',
'D',
'j',
'l',
'N',
'S',
'w',
'z',
// Week
'W',
// Month
'F',
'm',
'M',
'n',
't',
// Year
'L',
'o',
'Y',
'y',
// Time
'a',
'A',
'B',
'g',
'G',
'h',
'H',
'i',
's',
'u',
// timezone
'e',
'I',
'O',
'P',
'T',
'Z',
// Full Date / Time
'c',
'r',
'U',
);
return $possible_date_arguments;
}