today() returns problem

hi all

normally today() will return today's date in gregorian calander( eg : 09/03/2003 ).
in my application, which is an arabic application, i need the date in Hijri calander(arabic calander).

In my arabic enabled windows i can change the system calander as hijri from regional settings. but the today() function still returns the gregorian data. i need to get the date in hijri (eg: like today's hijri date 06/01/1424 ).

in Microsoft VB 6.0 the this can achieve easily by the script

 VBA.Calendar = vbCalHijri  // changing to hijri calander

 msgbox now

the messagebox will show tha date 06/01/1424.  and all the remaining date calculations r based on hijri calander.

is there any method to achieve this in PowerBuilder..??

if u don't know inform me, where will i go in the net to get Sybase's Help regarding this matter

i am using pb 6/7. if u have any idea regarding this pls inform me.
 
thanx in advance
LVL 5
gafoor78Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

buasuwanCommented:
here a link. there is a source code, but in COBOL.
http://www.geocities.com/ahmad_salman/

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
HamdyHassanCommented:
gafoor78,
If you can do it by VBscript, then why you can call Vbscript to do it and return the result to powerbuilder.

I don't know how to do that, but it's just an idea.

0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Editors IDEs

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.