Subject | Re: [firebird-support] gregorian to hijri |
---|---|
Author | Alexandre Benson Smith |
Post date | 2009-10-18T07:29:44Z |
Z T Minhas wrote:
have it built-in... Perhaps it's easy to do it using only SQL.
But my advice is to code yourself an UDF to do it.
see you !
--
Alexandre Benson Smith
Development
THOR Software e Comercial Ltda
Santo Andre - Sao Paulo - Brazil
www.thorsoftware.com.br
> Hi,I don't know how to convert one calendar to another, but FB does not
>
> Does anyone have a SQL statement that can convert Gregorian dates to Hijri?
>
> I have something like this in Oracle:
>
> select to_char(sysdate,'DD MONTH YYYY','NLS_CALENDAR=''Arabic Hijrah''') from dual;
>
> what about in Firebird?
>
> Regards
>
> Zafar
>
have it built-in... Perhaps it's easy to do it using only SQL.
But my advice is to code yourself an UDF to do it.
see you !
--
Alexandre Benson Smith
Development
THOR Software e Comercial Ltda
Santo Andre - Sao Paulo - Brazil
www.thorsoftware.com.br