Re: Formatting Date (m/d/yyyy) To Timestamp
| From: | Serge Fonville | Date: | Sun, 10 Jan 2021 23:29:28 +0000 |
| Subject: | Re: Formatting Date (m/d/yyyy) To Timestamp | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-327398@lists.php.net to get a copy of this message | ||
Hi Talin,
Would https://www.php.net/manual/en/function.strtotime.php
solve your
conversion problem?
Kind regards/met vriendelijke groet,
Serge Fonville
http://www.sergefonville.nl
Op ma 11 jan. 2021 om 00:18 schreef Talin Sharma <talinsharma.in@gmail.com>:
> Hi All,
>
> I have a string: '1/1/2021'. I want to turn this into a timestamp for
> entering into MySql. I have tried everything I could find. Please let me
> know how to proceed.
>
> Also, let me know if you need more information.
>
>
> Thanks:
> Talin Sharma
>