Ty keogh dating
Consider I've been flicking through the comments looking for some succinct date code and have noticed an alarming number of questions and over-burdened examples related to date mathematics.
One of the most useful skills you can utilize when performing date math is taking full advantage of the UNIX timestamp.
When escaping, be sure to use single quotes to prevent characters like \n from becoming newlines.
in the "datetime" attribute you should put a machine-readable value which represent time , the best value is a full time/date with ISO 8601 ( date('c') ) ,,, the attr will be hidden from usersand it doesn't really matter what you put as a shown value to the user,, any date/time format is okay !
For those of us still needing it, here is simple hack to get the job done.
private function get Weeknumber Sunday First Day Of Week(\Date Time Interface $date) $now will return the same (the server's current) Unix time stamp regardless which timezone your user is in. This is sure that the information you shared is clearly identive and fabulous for keeping it in minds.
Day 1 of next week is If you are having an issue getting u to work so is everyone else.
The solution that I am using which I found on another site(so not taking credit) is to use this: date("Y/m/d H:i:s").
I couldn't find a simple way to do that in PHP, so I threw this together.It might actually be the day after tomorrow or still today. Note that some formatting options are different from My SQL.