|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
punit Smarty n00b
Joined: 11 Sep 2017 Posts: 1
|
Posted: Mon Sep 11, 2017 7:23 am Post subject: how to show difference in two dates in smarty |
|
|
i create a code in php to find out the difference in two dates, but i am stuck in smarty how to show with the help of smarty |
|
Back to top |
|
AnrDaemon Administrator
Joined: 03 Dec 2012 Posts: 1785
|
Posted: Mon Sep 11, 2017 3:11 pm Post subject: |
|
|
That depends, how do you want to show it?
Usually, it is shown in days, you can use GMT date functions to format it suitably. |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|