<style>
  .pwbtn{
    width:50px;
	cursor:pointer;
	margin-left:15px;
  }
  .tblfont{
    font-size:25px;
	margin: 0px 5px 0px 5px;
  }
  .infomsg{
    color:#0000FF; 
	font-size:18px;
  }
  .errmsg{
    color:#FF0000; 
	font-size:18px;
  }	
  
  .divBlock01{
    float:left;
	width:100px;
  }
</style>

<?
  $tdate = date("Y-m-d");
?>

<style type="text/css">@import url(calendar-win2k-1.css);</style>
<script type="text/javascript" src="calendar.js"></script>
<script type="text/javascript" src="calendar-en.js"></script>
<script type="text/javascript" src="calendar-setup.js"></script>

<form action="rpt_dailyp.php" method="post">

<table class="tblpage"><tr><td align="center">
<table>

<tr>
  <td>
  <input id="txtDate" name="txtDate" type="text" value="<?= $tdate ?>" size="25">
        <button id="btnDate" size=5 >...</button>
        <script type="text/javascript">
          Calendar.setup(
            {
              inputField  : "txtDate",         // ID of the input field
              ifFormat    : "%Y-%m-%d",    // the date format
              button      : "btnDate"       // ID of the button
            }
          );
       </script>
  </td>
</tr>
<tr>
  <td>
  <input type="submit" value="Report" />
  </td>
</tr>

</table>
</td></tr></table>

</form>