Skip site navigation (1) Skip section navigation (2)

Re: date_format in postresql

From: azah azah <izza76(at)gmail(dot)com>
To: Rod Taylor <pg(at)rbt(dot)ca>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: date_format in postresql
Date: 2004-07-22 03:13:03
Message-ID: 235b1a280407212013327c7c27@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-phppgsql-sql
Hi all, 
Successful solved.
I'm just using to_timestamp function.

Thanks

On Wed, 21 Jul 2004 10:45:27 -0400, Rod Taylor <pg(at)rbt(dot)ca> wrote:
> On Tue, 2004-07-20 at 23:53, azah azah wrote:
> > Thanks Chris and Rod.
> >
> > I think I have a problem because not many function existing in
> > postresql that i installed.
> > How can i get all the build-in functions because the basic function
> > to_char is not existing in the database?
> 
> Which version of PostgreSQL are you using?
> 
> select version();
> 
> 
> 
> > On Tue, 20 Jul 2004 22:39:38 -0400, Rod Taylor <pg(at)rbt(dot)ca> wrote:
> > > On Tue, 2004-07-20 at 20:55, azah azah wrote:
> > > > Hi,
> > > > I want convert from mysql to postresql,
> > > > in mysql, query to database using the code as below:
> > > >
> > > > date_format(submittime, "%W %M %e, %Y - %r")
> > >
> > > to_char(submittime, 'format string')
> > >
> > > http://www.postgresql.org/docs/7.4/static/functions-formatting.html
> > >
> > >
> > > ---------------------------(end of broadcast)---------------------------
> > > TIP 9: the planner will ignore your desire to choose an index scan if your
> > >       joining column's datatypes do not match
> > >
> 
>

In response to

pgsql-php by date

Next:From: Daniel StruckDate: 2004-07-27 11:41:33
Subject: Re: [ADMIN] Secure DB Systems - How to
Previous:From: Rod TaylorDate: 2004-07-21 14:45:27
Subject: Re: date_format in postresql

pgsql-sql by date

Next:From: terryDate: 2004-07-22 04:55:40
Subject: Re: next integer in serial key
Previous:From: azah azahDate: 2004-07-22 02:59:08
Subject: Re: Please help me.. problem in to_char

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group