$Tdate = getdate();   
     $curyear=$Tdate["year"];
     $curmonth=$Tdate["month"];
     $curday=$Tdate["mday"];
     echo "Today is $curmonth $curday, $curyear";


Rachael M
Freelance Developer
(218) 326-2719
www.DragonflyDevelopmentMN.com
  ----- Original Message ----- 
  From: [email protected] 
  To: RBASE-L Mailing List 
  Sent: Wednesday, June 02, 2010 1:39 PM
  Subject: [RBASE-L] - Re: PHP date


  Jan, 

  I think in php, it's a timestamp value that encompasses the current date and 
time = time(), similar to R:Base .#NOW.  There are various functions that parse 
/ format the values if I remember correctly.... it's been a while. 

  See http://us.php.net/manual/en/funcref.php 

  Dawn Hast



  [email protected] wrote on 06/02/2010 02:27:52 PM:

  > "jan johansen" <[email protected]> 
  > Sent by: [email protected]
  > 
  > 06/02/2010 02:29 PM 
  > 
  > Please respond to
  > [email protected] 
  > 
  > To 
  > 
  > [email protected] (RBASE-L Mailing List) 
  > 
  > cc 
  > 
  > Subject 
  > 
  > [RBASE-L] - PHP date 
  > 
  > Group, 
  >   
  > Does anyone know how to handle dates in PHP? 
  >   
  > I mean if today in R:BASE is .#DATE what is the call in PHP? 
  >   
  > Jan 
  >   
  DISCLAIMER:  This electronic message together with any attachments is 
confidential.  If you are not the intended recipient, do not copy, disclose or 
use the contents in any way.  Please also advise us by return e-mail that you 
have received the message and then please destroy.  Evergreen Packaging is not 
responsible for any changes made to this message and / or any attachments after 
sending by Evergreen Packaging.  We use virus scanning software but exclude all 
liability for viruses or anything similar in this email or any attachment. 

Reply via email to