By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,962 Members | 1,776 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,962 IT Pros & Developers. It's quick & easy.

weekday from timestamp?

P: 1

im strugling with my dataset..

got a small pgsql db with a timestamp column in format YYYY:MM:DD HH:MM:SS for each record

how could i possibly return day of the week for every one of these records?

any help will be much appreciated
Sep 8 '08 #1
Share this Question
Share on Google+
1 Reply

Expert 100+
P: 700
Maybe like that

Select extract(dow from your_date);
Sep 8 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.