Skip to content

cDateISO::FromDMY()

Rainer Stötter edited this page May 9, 2017 · 1 revision

Method FromDMY( )

 public   mixed libdatephp\cDate::FromDMY($str)

FromDMY() sets the internal day according to a DMY (day,month,year) date string

Example:

use libdatephp;

$dt = new cDate( 11, 23, 2016 );

$dt->FromDMY( '22.12.2016' );

Arguments

  • $str mixed - <p>string the DMY string</p>

See also

Clone this wiki locally