ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:datetime:adodb_date2

This is an old revision of the document!


adodb_date2

See Also

adodb_date()

Syntax
string adodb_date2(
     string $format,
     optional string $isoDateString = ''
)

Description

This function extends the adodb_date() function, allowing the second argument to be passed as an ISO format string instead of a timestamp.


Usage

$d = adodb_date2('d-M-Y H:i','1520-12-25 13:01:34');
v5/datetime/adodb_date2.1448547899.txt.gz · Last modified: 2017/04/21 11:27 (external edit)