News - Features - Downloads - Forum - Team - Support - Switch View: Screen
Login - Registrierung - Passwort vergessen

Antworten: 1
Seite [1]
microz


Rock the board




Beiträge: 86
# Thema - 11.05.2011 um 13:21 Uhr
Hi,

In module commentes, is possible change date (ej. comment written m-d-y) by comment written ago x hours/days/years?

Any suggestions?

Rgds,
Eduardo
Inaktiv
hajo ClanSphere Team


VIP - Poster




Herkunft: Barsbüttel
Beiträge: 9411
# Antwort: 1 - 11.05.2011 um 13:50 Uhr
dates are stored as unix timestamps. if you compare them with the current one the result is the difference in seconds. use those seconds to get your "comment created xx ago" functionality.


------------------
ClanSphere - professional clan care starts here

Inaktiv
|
Antworten: 1
Seite [1]


Sie müssen sich registrieren, um zu antworten.


ClanSphere Project - Mailus - Imprint - Disclaimer - Scriptinfo