Utilities::set_date_time_format( string $date = 'F j, Y', string $time = ' g:i a', string $separator = ' ' )
Set the default date and time format
Contents
Parameters Parameters
- $date
-
(Optional) Date format
Default value: 'F j, Y'
- $time
-
(Optional) Time format
Default value: ' g:i a'
- $separator
-
(Optional) The separator between the date and time format
Default value: ' '
Return Return
(bool)
Source Source
File: src/utilities.php
Expand full source code Collapse full source code View on Github
Changelog Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |