Re: [GENERAL] datestyle formatting

2005-01-11 Thread Michael Fuhr
On Tue, Jan 11, 2005 at 12:03:16AM -0600, [EMAIL PROTECTED] wrote: > > I need to know the day of the week for a schedule rotation algorithm > i'm working on. Others have already replied to this part. > I've switched the datestyle format in the .conf file and used the > set to command, but my out

Re: [GENERAL] datestyle formatting

2005-01-10 Thread Michael Glaesemann
On Jan 11, 2005, at 15:03, [EMAIL PROTECTED] wrote: I need to know the day of the week for a schedule rotation algorithm i'm working on. Initially i was going to use the function for day of the year and week of the year to find the first day of the year, but it seems like it would be easier

Re: [GENERAL] datestyle formatting

2005-01-10 Thread Tom Lane
[EMAIL PROTECTED] writes: > I need to know the day of the week for a schedule rotation algorithm > i'm working on. extract(dow ...) might help. regards, tom lane ---(end of broadcast)--- TIP 9: the planner will ignore your d

[GENERAL] datestyle formatting

2005-01-10 Thread mstory
I need to know the day of the week for a schedule rotation algorithm i'm working on. Initially i was going to use the function for day of the year and week of the year to find the first day of the year, but it seems like it would be easier to use the postgres, dmy format and then parse the strin