pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ivette Ruiz Vertiz <iruiz@dacompsc.com>
To: pgsql-bugs@postgresql.org
Subject: formato de Fechas
Date: Tue, 26 May 2015 10:48:39 -0500
Message-ID: <000001d097cb$6f718410$4e548c30$@dacompsc.com> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

 

 

Hola buen día, 

 

Tengo un problema con los formatos de las fechas,   al consultar la fecha
del sistema  postgres me manda año-mes- dia , 

 

select sysdate from dual;

envia  2015-05-01 00:00:00

 

select to_char(sysdate, 'dd/mm/yy') from dual;

envia 26/05/15   pero como texto, y  lo necesito que sea en formato de
fecha, no de texto ,

me podrian ayudar , por favor 

 

 

 

 

 

 

 


 

Logo DAComp.bmp

 

part6.03090808.01090703@dacompscClelia Ivette Ruiz Vertiz 

Desarrollo de Sistemas

Aguascalientes, Ags. |Tel. (449) 915 4861

 <mailto:iruiz@dacompsc.com> iruiz@dacompsc.com |
<http://www.dacompsc.com/; www.dacompsc.com


Este correo -tanto en su texto, como en sus anexos- puede contener
información privilegiada o bien confidencial. Si usted no es destinatario de
este correo o cree que ha recibido esta información por error, por favor
conteste al remitente indicando el hecho y además borre la copia que
recibió.  Si usted no es el destinatario, no deberá leer, imprimir, copiar,
retransmitir, diseminar o hacer uso de la información de este correo,
incluyendo sus anexos. Gracias.


P Piense ecológicamente: Sólo imprima lo indispensable.

 

 

Attachments:

image001.jpg (image/jpeg, 3.6K) download view image
image002.png (image/png, 8.7K) download view image

view thread (2+ messages)  latest in thread

Message-ID: <000001d097cb$6f718410$4e548c30$@dacompsc.com>
Permalink:  ../000001d097cb$6f718410$4e548c30$@dacompsc.com/
Also on:    postgresql.org/message-id/000001d097cb$6f718410$4e548c30$@dacompsc.com

 · 

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-bugs@postgresql.org
  Cc: iruiz@dacompsc.com
  Subject: Re: formato de Fechas
  In-Reply-To: <000001d097cb$6f718410$4e548c30$@dacompsc.com>
  References: <000001d097cb$6f718410$4e548c30$@dacompsc.com>

* 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