Jump to content

convert datetime string into datetime


phppaper

Recommended Posts

If you have two strings in the format: "yyyy-mm-dd hh:mm" (with leading zeros so that each field will always be the same length that you have shown in that format), you can directly perform greater-than, less-then, and equal comparisons between those strings.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.