Developers' quick reference - Date YYYY-MM-DD formatting with PHP RSS 

Home | Link Us | Contact


The registration is temporarily disabled.

However you can post your comments without registration.
Username:
Password:
Register | Lost password
-->




Date YYYY-MM-DD formatting with PHP

Home » PHP » Date YYYY-MM-DD formatting with PHP
Date: 2005-07-21

Date YYYY-MM-DD formatting with PHP

Download | Printer Friendly
 
Add to Google Add to Del.icio.us Add to Digg Add to Technorati
Add to Yahoo! Add to Blinklist Add to Furl Add to reddit
 

Comments

author: Anonymous date: 2008-12-13 01:10:00
title: Re: 22222 YYYY-MM-DD formatting with PHP
424242
author: sdg
site: sdgsd
date: 2009-12-04 02:23:05
title: Re: Date YYYY-MM-DD formatting with PHP
gd
author: Anonymous date: 2010-02-08 01:08:35
title: Re: Date YYYY-MM-DD formatting with PHP
gd
author: Hasanda
date: 2010-02-08 09:34:47
title: Re: Date YYYY-MM-DD formatting with PHP
		$date = $_POST["vArrDate"];
		
$datearry = split("-",$date);
$date = "{$datearry[2]}-{$datearry[1]}-{$datearry[0]}";
	

$insertLine = "INSERT INTO equipment (date_arrived,hire_cost) VALUES ('$date','$cost')";
author: bryan
date: 2010-03-05 07:44:04
title: Re: Date YYYY-MM-DD formatting with PHP
i just want to ask, how can i set a time cut off e.g 7:00 am to 4:00 pm, then after 4 pm it would count for the next day
 

Post a comment

Your Name
Your Email (won't be published)
Site (e.g. http://)
* Title
* Comment

* Required fields.
  Copyright © 2005-2010 Execution time: 0.01784
hosted by 1and1