Print Page | Close Window

Farsi date

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=2599
Printed Date: 17 April 2026 at 11:28am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Farsi date
Posted By: melika_1st
Subject: Farsi date
Date Posted: 11 May 2003 at 5:51am

hi

how can i change my forum date to Farsi date ?

for example today we are in 2003/5/11 , but in Farsi we are in 1382/2/21 .

please help me

regard



-------------
melika tehrani



Replies:
Posted By: jabbasabba
Date Posted: 11 May 2003 at 7:09pm

I don´t know what Farsi time is about, but I think that you can do this "time changes" with a basic time-javascript. Just mod it to fit your Farsi...



-------------
"It´s different between knowing the way than walking it"


Posted By: michael
Date Posted: 11 May 2003 at 7:40pm

I know how to do that in SQL Server so I am sure it would be similar possible to do in ASP:

To convert the actual date into Farsi (Hope is the same as Hijri)
SELECT CONVERT(nchar, GETDATE(), 131)

To convert from Hijri to Gregorian Calendar:
SELECT CONVERT(datetime, ' 7/05/1421 12:14:35:727PM', 131)

The clue is the 131 thus you have to options:

  •  130 - Returns the date via the Hijri calendar, in dd mon yyyy hh:mi:ss:mmmAM format.
  •  131 - Returns the date via the Hijri calendar, in dd/mm/yy hh:mi:ss:mmmAM format.


  • -------------
    http://baumannphoto.com" rel="nofollow - Blog | http://mpgtracker.com" rel="nofollow - MPG Tracker


    Posted By: melika_1st
    Date Posted: 12 May 2003 at 3:26am

    thanks

    but you don't say where i must use this scripts.



    -------------
    melika tehrani


    Posted By: michael
    Date Posted: 12 May 2003 at 2:53pm
    Well, it all depends on what you want to do, if you have a normal date in the database you could retrieve them with the script above, I think you are looking more for a vbs solution, and I am not sure how that works

    -------------
    http://baumannphoto.com" rel="nofollow - Blog | http://mpgtracker.com" rel="nofollow - MPG Tracker


    Posted By: melika_1st
    Date Posted: 13 May 2003 at 4:13am



    -------------
    melika tehrani


    Posted By: rahimi
    Date Posted: 13 January 2004 at 2:36am

    http://forums.webwiz.net/forum_posts.asp?TID=8795&am p;KW=farsi - http://forums.webwiz.net/forum_posts.asp?TID=8795&am p;am p;KW=farsi

    I Create This Topic For Persian ( Farsi ) Mode to Use Forum in Farsi.

    also You can Set and  Download Farsi Date in this Topic.

    Mohammad



    Posted By: miladanimator
    Date Posted: 09 December 2005 at 4:06pm
    سلام به همگي

    بروبچ من از نسخه اس كيو ال استفاده مي كنم

    هست ، ردر ديتابيس به علامت سوال ؟؟؟؟؟؟؟؟؟؟؟؟؟ تبذديل ميشه Ntext اما متاسفانه متن پيام ها و ....  كه داده هاشون از نوع 

    علت چيه ؟؟؟  راه حل ؟؟؟


    Posted By: rahimi
    Date Posted: 10 December 2005 at 3:45am

    Çíä ßÏåÇ ÑÇ Çíä Çæ ÕÝÍÇÊ ÇÕáí ÝÑæã ÈÒÇÑ

    <%@ CodePage=65001 Language="VBScript"%>
    <META http-equiv=Content-Type content="text/html; charset=utf-8">


    -------------
    Mohammad Rahimi ,
    Astronomer and Web Developer.



    Print Page | Close Window

    Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
    Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net