On Wed, 2001-11-28 at 13:09, Wodzu wrote:
> I'm novice in PostgreSQL.
Then pgsql-novice is the correct list to ask this kind of question.
> I want to obtain current week number.
> Under PHP I try:
> $query = "SELECT EXTRACT(WEEK FROM NOW)";
> $result= pg_exec($dbconn,$query);
select date_part('week', CURRENT_TIMESTAMP);
In response to
pgsql-hackers by date
|Next:||From: Thomas Lockhart||Date: 2001-11-28 14:30:46|
|Subject: Re: Call for platform testing|
|Previous:||From: Albert Bartoszko||Date: 2001-11-28 14:07:51|