Jump to content

[SOLVED] how to select latest date?


tomasd

Recommended Posts

Hi,

Can somebody please tell me how to select tuple containing timestamp that is closest to now()?

i.e. if I have data like

2008-09-18 14:31:04

2008-09-18 14:31:06

2008-09-18 14:32:04

2008-09-18 14:35:04

2008-09-18 15:31:04

How can I do select that would give me 2008-09-18 15:31:04?

Link to comment
https://forums.phpfreaks.com/topic/125286-solved-how-to-select-latest-date/
Share on other sites

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.