常用的js 時間選擇器 DateTime picker

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="https://www.w3.org/1999/xhtml"><head>
<meta http-equiv="content-type" content="text/html; charset=GB2312">
        <title>Protoplasm</title>
        <link rel="stylesheet" href="datepicker_files/protoplasm_002.css">
        <script type="text/javascript" language="javascript" src="datepicker_files/prototype.js"></script>       
        <script type="text/javascript" language="javascript" src="datepicker_files/protoplasm.js"></script>
        <link href="datepicker_files/protoplasm.css" type="text/css" rel="stylesheet">
        <script type="text/javascript" language="javascript">
            Protoplasm.use('datepicker').transform('.datetimepicker_es', { locale: 'es_AR', timePicker: true, use24hrs: true });

        </script>
        <script type="text/javascript" src="datepicker_files/datepicker.js"></script>
        <script type="text/javascript" src="datepicker_files/timepicker.js"></script>
        <link href="datepicker_files/datepicker.css" type="text/css" rel="stylesheet">
        <link href="datepicker_files/timepicker.css" type="text/css" rel="stylesheet">
    </head>
    <body>

<form onsubmit="return false;">
   
    <p style="float:left; width:250px;">Date and time:</p>
<input value="06-21-2012 11:42:00" class="datetimepicker_es">
   
</form>

   
</body></html>
 

You May Also Like