PDA

View Full Version : How we can replace AM & PM ..


q8manar
07-16-2007, 09:13 AM
How Do I replace AM and PM (time) in my forum to come with another text

for example I want to out 'night' and 'noon' or any other arabic word



before was doing change in function.php , but now with 3.6.7 , I couldn't



is any body has idea to view 'PM' with other word.?:confused:

Dismounted
07-16-2007, 11:30 AM
You can't as vBulletin uses the PHP function: date (http://www.php.net/manual/en/function.date.php). However, you could probably work around this by editing the vbdate function.

quitsmoking
07-16-2007, 01:23 PM
Open includes/functions.php, find the funtion vbdate and replace 'AM' and 'PM' before returning the function result.

q8manar
07-29-2007, 08:37 PM
I tried but i couldn't
please could any body help me step by step how I can replace PM to "night"