De entrada formato de fecha dd/mm/aaaa html

Ejemplos de código

3
0

N

date("d/m/Y", strtotime($str));
0
0

N

<label for="start">Starting Date(s): </label>

<input type="date" id="start" name="starting-date"
       value="(DATE)"
       min="(DATE)" max="(DATE)">

<!-- Replace (DATE) with corresponding date you wish to be inputted into the code -->
0
0

N

<!DOCTYPE html> 
<html> 

<head> 
	<title> 
		How to get input type date 
		in dd-mm-yyyy format ? 
	</title> 
	
	<style> 
		body { 
			text-align: center; 
		} 
		h1 { 
			color: green; 
		} 
	</style> 
</head> 

<body> 
	<h1>Student Tutorial</h1> 
	
	<h3> 
		Get input date in 
		dd-mm-yyyy format 
	</h3> 
	
	<label for="start"> 
		Enter the Date: 
	</label> 

	<input type="date" name="begin"
		placeholder="dd-mm-yyyy" value=""
		min="1997-01-01" max="2030-12-31"> 
</body> 

</html> 


Páginas relacionadas

Páginas de ejemplo relacionadas

En otros idiomas

Esta página está en otros idiomas

Русский
..................................................................................................................
English
..................................................................................................................
Italiano
..................................................................................................................
Polski
..................................................................................................................
Română
..................................................................................................................
한국어
..................................................................................................................
हिन्दी
..................................................................................................................
Français
..................................................................................................................
Türk
..................................................................................................................
Česk
..................................................................................................................
Português
..................................................................................................................
ไทย
..................................................................................................................
中文
..................................................................................................................
Slovenský
..................................................................................................................
Балгарскі
..................................................................................................................
Íslensk
..................................................................................................................