![]() |
Generate Date
Im working on a mod for my forums where when I create a new news on our homepage (not vb connected as of now) it will create a new thread in a forum. I know there are hacks out there that make threads into news BUT I would LOVE it if i could do it this way. Now the only issue I am having is creating the date of the post. If i cannot figure this out I will end up using some generic date (if i can figure one out) but i would prefer if i could figure out how this is done. Thanks
|
Use the vbdate function.
$today = vbdate('m-d-Y', TIMENOW, false, false); |
so that will generate the crazy code needed for the date to turn out right?
|
If I'm understanding your explanation right, yes. Change m-d-Y to suit your needs.
|
All times are GMT. The time now is 01:41 PM. |
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:
|