The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I am getting the dateline_from like 1160949600
I usually use the php date function to convert it to 2006-10-15 But I am having difficulties with the below. What should I use for that? Thanks. Quote:
|
#2
|
|||
|
|||
![]()
I didn't understood exactly where you want to add the date, but to assign to a variable a date is:
Code:
$myvariable[datefield] = vbdate($vbulletin->options['dateformat'], $myvariable['datefield'], '', ''); Cheers Maria |
#3
|
|||
|
|||
![]()
Thanks Microhellas. I got around it :-)
|
#4
|
|||
|
|||
![]()
How do you convert a date into that format?
Found out how... <?php echo mktime(0, 0, 0, 09, 09, 2006); echo "\n"; echo mktime(0, 0, 0, 9, 9, 2006); ?> 1133326800 1157774400 |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|