This is a discussion on [Fwd: Day name, month name from a datetime field] within the pgsql Novice forums, part of the PostgreSQL category; --> ---------------------------- Original Message ---------------------------- Subject: Day name, month name from a datetime field From: "Deepa K" <kdeepa@midascomm.com> Date: Tue, ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| ---------------------------- Original Message ---------------------------- Subject: Day name, month name from a datetime field From: "Deepa K" <kdeepa@midascomm.com> Date: Tue, January 4, 2005 5:43 pm To: pgsql-novice@postgresql.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 ---------------------------(end of broadcast)--------------------------- TIP 4: Don't 'kill -9' the postmaster |