SMF Support > SMF 2.0.x Support

timeformat?

(1/1)

xd4nt3x:
So i made a news module on my website that is attached to the SMF message database. But i need a converter for the poster time. For displaying the right form of the date. Can someone help?

karlbenson:
if your using SMF SSI.

 you should be able to use the smf function timeformat in subs.php

xd4nt3x:
A tried ti figure it out but its to complex for me! :P Isn't there a simple script or something?

Rumbaar:
If you are just taking the UNIX time stamp you can just convert it via time() date() php functions.

Navigation

[0] Message Index

Go to full version