Minimal Members Factory

DateTime

post Mohammad Fathi 20:45, 17 May 23
Get Date and Time
DateTime

Options

Option Description Alternate Default More
"position" Representation of time zone "source","src" "now" https://www.php.net/manual/en/class.dateinterval.php
"zone" Representation of time zone "timezone" null https://www.php.net/manual/en/class.datetimezone.php
"format" Parses a time string according to your specified format "pattern" "Y-m-d H:i:s" https://www.php.net/manual/en/datetime.format.php

Run

datetime date time dt
Visit