Profile
Achievement
kosinix's Recent Snippets
- All /
« Prev 1 Next »
Function to convert a one dimensional array to two dimensional with option to specify how many columns. Returns two dimensional array on success or false on fail.
0
2251
posted 12 years ago by kosinix
Convert 12-hour time format with hour, minutes, seconds, and meridiem into 24-hour format. Performs data correction to make sure hours, minutes and seconds have leading zeros if needed.
The trick here is to use strtotime() where we pass the time...
0
4063
posted 12 years ago by kosinix