Jump to content

calculating date on the fly


sofia403

Recommended Posts

I have a column "submission_date" type DATE and also a column "Elapsed_time"

Question is - is it possible to calculate the date difference in days from "submission_date" to current date and display the values In "elapsed_time"

 

So basically column "elapsed_time" would always have an updated value in it.

 

Probably a very simple question for most of you, any help or pointers are much appreciated.

 

Link to comment
https://forums.phpfreaks.com/topic/236471-calculating-date-on-the-fly/
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.