|
Tinkerwell
Tutorials
FAQ
Docs
Get Tinkerwell
Buy
Tutorials
Support
Docs
Time Calc and Current Date
3 years ago
slavarazum
Code
now()->setTimezone('Europe/Kiev')->subHours(15); date('Y-m-d')
Output
=> "2021-10-11"
Video course:
PHP Package Development
PHP Package Development
Learn how we build and maintain code that is downloaded more than 40 Million times.
Get access