![]() |
[How to] Print date in template?
Is there simple way to print today date in template?
Instead using plugin and include a php file that contain php date code |
As far as I know the only way to do it without a plugin would be to use javascript (and if you do that it will show the date that the user's computer is set to). You can google something like "output date using javascript" to find many examples.
|
ok after searching again, the variable it is existed in vb
it is $datenow and to change the format if needed, in vboptions > Date and Time Options > Format For Date hope can help others members that searching similar information |
I didn't think to look for an existing variable. Thanks for sharing that.
|
Quote:
|
All times are GMT. The time now is 09:19 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|