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

From: "Deepa K" <kdeepa(at)midascomm(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: [Fwd: Day name, month name from a datetime field]
Date: 2005-01-06 04:37:05
Message-ID: 34736.192.168.13.4.1104986225.squirrel@192.168.13.4
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

---------------------------- Original Message ----------------------------
Subject: Day name, month name from a datetime field
From: "Deepa K" <kdeepa(at)midascomm(dot)com>
Date: Tue, January 4, 2005 5:43 pm
To: pgsql-novice(at)postgresql(dot)org
--------------------------------------------------------------------------

Hi,
I have a table which will have two datetime fields (logintime and
logouttime).

logintime : time at which the user is logged in
logouttime : time at which the user is logged out.

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.

--
regards,
Deepa K

--
regards,
Deepa K

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Michael Fuhr 2005-01-06 05:42:48 Re: [Fwd: Day name, month name from a datetime field]
Previous Message Steven Klassen 2005-01-05 17:16:10 Re: cleaning up template1