php calculated function help

drashrafsabry

Well-known member
could you please help me how can i write a function to return the difference in weeks and days between todays date and a date in a field in my table
 

eugenio

Administrator
Staff member
Hello,
here:
https://stackoverflow.com/questions/676824/how-to-calculate-the-difference-between-two-dates-using-php
there is a long post about it.

Best,
 
Top