Click here to Skip to main content
15,888,154 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
I need to have a Hijri Shamsi date and time in my website.
Any one please have the javascript + html file ?
thanks
Posted

Go to this page :

http://cndate.p30pedia.com/[^]

Right click and select View page source and see what you needed.

I'm sure that you know how to reuse its functions.

Of course there are more other sites that have this script which can be found by google.

Hope it helps.
 
Share this answer
 
Thank you Mahfoozi,
I'm researching since one week, but unfortunately i didn't find something that i need, if you can please help me.
I need javascript file + html , that i should add to my localhost as well without needed internet.
like this date:
سه شنبه - 6 دی - 1390

Thanks
 
Share this answer
 
Comments
Amir Mahfoozi 28-Dec-11 1:25am    
If you go the page that I have introduced, you can see these functions in page source :
function ToShamsi(grgYear,grgMonth,grgDay,Format)
function ToGregorian (hshYear,hshMonth,hshDay)
I think these function names and their parameters tell everything. And if you don't know how to use them it is another problem. :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900