Unix Technical Forum

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

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, ...


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

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



---------------------------- 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

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 05:33 AM.


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