geekboyed Posted February 23, 2021 Share Posted February 23, 2021 I have a date format that I need to insert into mysql (yyyy-mm-dd). The format looks like this: February 5 at 5:00pm PST any ideas? thanks Quote Link to comment https://forums.phpfreaks.com/topic/312196-strange-date-format-covert-help/ Share on other sites More sharing options...
requinix Posted February 23, 2021 Share Posted February 23, 2021 If you know that the string will always be in that format then you can ask PHP to parse it for you. Quote Link to comment https://forums.phpfreaks.com/topic/312196-strange-date-format-covert-help/#findComment-1584701 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.