php-carbon Questions

1

Solved

How do I get the UTC date with Carbon if I use another timezone? $timestamp = '2014-02-06 16:34:00'; Carbon::createFromFormat('Y-m-d H:i:s', $timestamp)->timezone('Europe/Stockholm'); I creat...
Doubleheader asked 6/2, 2014 at 15:36

© 2022 - 2024 — McMap. All rights reserved.