Created
October 4, 2019 03:35
-
-
Save JWPapi/3d91cda262b507ece56276b7146197fc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Example { | |
private $date = date('Y-m-d H-i-s', time()); | |
function exampleFunc() { | |
$newDate = $this->date; | |
echo $newDate | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment