Обсуждение: formatting dates?

Поиск
Список
Период
Сортировка

formatting dates?

От
Frank R Callaghan
Дата:
Excuse my ignorance but is there anyway to
format a returned date aka 'mm/dd/yy' in a query like
sybase dateformat(date, 'mm/dd/yy');
also is the a good document explaining the use
of regex in postgresql.

TIA,
            Frank.






Re: [GENERAL] formatting dates?

От
Sevo Stille
Дата:
Frank R Callaghan wrote:
>
> Excuse my ignorance but is there anyway to
> format a returned date aka 'mm/dd/yy' in a query like
> sybase dateformat(date, 'mm/dd/yy');

SET DATESTYLE TO 'SQL, US';

Sevo