...

View Full Version : how to display date in this format "Muharram 12, 1427 Hijri "



amir
04-27-2006, 11:23 AM
this script works fine but i dont know how to customize it to get the required results

<?php include('http://yse-uk.com/hijridate/hijridate.php?style=br'); ?>

Masterslave
04-27-2006, 12:27 PM
Can you post the PHP code? That;s much easier to debug you know.;)

amir
04-27-2006, 02:13 PM
actually i dont have code
i just get this script from a site

NancyJ
04-27-2006, 02:35 PM
if you dont have the code then how do you plan to customise it?

NancyJ
04-27-2006, 02:44 PM
You cant customise their script and they dont have any options to do what you want to do, the only way to do what you want is to do something like


$dateparts = explode(" ", file("http://yse-uk.com/hijridate/hijridate.php?style=hijri"));
echo $dateparts[1].", ".$dateparts[0]." ".str_replace("AH", "", $dateparts[2]);



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum