I'm currently holding a specified date in a MySQL table in the format of "yyyy-MM-dd HH:mm:ss". I'd like to create a method that returns a boolean based on whether or not five minutes have passed since the recorded date.
The boolean would return true if:
The current date's minutes are surpass the recorded date's minutes
The recorded date's hours, day, month and year surpass the current date's
I'm not exactly sure as to how I'd go about this, so I'd appreciate some hints. Thanks!