Unix Technical Forum

Re: [Fwd: Day name, month name from a datetime field]

This is a discussion on Re: [Fwd: Day name, month name from a datetime field] within the pgsql Novice forums, part of the PostgreSQL category; --> On Thu, Jan 06, 2005 at 10:07:05AM +0530, Deepa K wrote: > > Is it possible to get the ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Novice

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-17-2008, 09:19 PM
Michael Fuhr
 
Posts: n/a
Default Re: [Fwd: Day name, month name from a datetime field]

On Thu, Jan 06, 2005 at 10:07:05AM +0530, Deepa K wrote:
>
> Is it possible to get the rows from table where the day is sunday.
>
> And also is it possible to map the days in all rows to day name and
> similarly is it possible to map the month in all rows to month name.


See the "Data Type Formatting Functions" and "Date/Time Functions
and Operators" sections of the "Functions and Operators" chapter
in the PostgreSQL documentation.

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 04:02 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com