[solved ] date like forum post ? |
[eluser]umefarooq[/eluser]
Hi one table of my application has field datetime i just want to know how can i calculate the date like forum if somebody post some topic on fourm it is showing datetime like Code: 5 minutes ago
[eluser]Colin Williams[/eluser]
You can use the timespan() function in the date helper or extrapolate from this function in drupal: http://api.drupal.org/api/function/format_interval/6
[eluser]umefarooq[/eluser]
problem is solved i just googled and fond some thing intersting here is the link http://aidanlister.com/2004/04/making-ti...-readable/ if somebody has some thing different please share |
Welcome Guest, Not a member yet? Register Sign In |