pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: sundaravel <zunderit@yahoo.co.in>
To: enzovenegas@mixmail.com
Cc: pgsql-php@postgresql.org <pgsql-php@postgresql.org>
Subject: Re: format query
Date: Thu, 17 Mar 2005 20:13:05 +0530
Message-ID: <42399779.20200@yahoo.co.in> (raw)
In-Reply-To: <E1DBvrX-0006AB-00@relay.mixmail.com>
References: <E1DBvrX-0006AB-00@relay.mixmail.com>

enzo venegas palacios wrote:

>I need to prove to be alone the date and not the hour of a table with format
>timestamp.
>
>please.
>
>
>enzo
>---------------------------------------------------------
>Redecora tu móvil. Redecora tu vida. ¿Por qué no? Con http://logos.ya.com es posible
>ADSL + Llamadas 24 horas: desde 28,95 €/mes + IVA. Navega y habla de forma ilimitada. Sin compromiso de permanencia. http://acceso.ya.com/ADSLllamadas/
>
>
>---------------------------(end of broadcast)---------------------------
>TIP 2: you can get off all lists at once with the unregister command
>    (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
>
>  
>
y u can try like this..

$arrDate = getdate();
$current_timestamp = $arrDate[0];

echo $current_timestamp;

// Output
1111070429

-S Sunder






view thread (8+ messages)  latest in thread

Message-ID: <42399779.20200@yahoo.co.in>
Permalink:  ../42399779.20200@yahoo.co.in/
Also on:    postgresql.org/message-id/42399779.20200@yahoo.co.in

 · 

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-php@postgresql.org
  Cc: zunderit@yahoo.co.in, enzovenegas@mixmail.com
  Subject: Re: format query
  In-Reply-To: <42399779.20200@yahoo.co.in>
  References: <E1DBvrX-0006AB-00@relay.mixmail.com> <42399779.20200@yahoo.co.in>

* 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