pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Zsolt Varga <redax@mail.agria.hu>
To: pgsql-sql@postgresql.org
Subject: strftime or date_format like function?
Date: Sun, 30 May 1999 23:51:29 +0200
Message-ID: <19990530235129.A5009@lupus.agria.hu> (raw)


hi!

I wonder, but is it possible to make 
a format like this: '1999.02' from the date '1999-02-01'

in mysql:
	select date_format('Y.m', date_field) from table;

so basicly I'm looking for a strftime() like function

	thanks,

		redax



view thread (3+ messages)  latest in thread

Message-ID: <19990530235129.A5009@lupus.agria.hu>
Permalink:  ../19990530235129.A5009@lupus.agria.hu/
Also on:    postgresql.org/message-id/19990530235129.A5009@lupus.agria.hu

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: redax@mail.agria.hu
  Subject: Re: strftime or date_format like function?
  In-Reply-To: <19990530235129.A5009@lupus.agria.hu>
  References: <19990530235129.A5009@lupus.agria.hu>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox