MyBB Community Forums
MyBB Community Forums
>
Community Archive
>
Archived Forums
>
Archived Development and Support
>
MyBB 1.4
>
MyBB 1.4 General Support
> Code for the time
Full Version:
Code for the time
You're currently viewing a stripped down version of our content.
View the full version
with proper formatting.
Matt
2008-08-25, 11:40 PM
What's the code for putting the time on the index??
I'm looking for something like {$boardtime}, that sort of thing.
WDZ
2008-08-26, 01:35 AM
You can use the variables
$datenow
and
$timenow
, which are defined in global.php.
Matt
2008-08-26, 09:54 AM
Brilliant, thanks
MyBB Community Forums
>
Community Archive
>
Archived Forums
>
Archived Development and Support
>
MyBB 1.4
>
MyBB 1.4 General Support
> Code for the time