NURU DAWUD

NURU DAWUD

  • 2k
  • 44
  • 397

How to Ethiopian calender's to Gregorian calender's

Oct 12 2020 7:21 AM
<!DOCTYPE html>
<html lang="en">
<head>
<title>birth registration</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
td {
padding: 15px;
}
</style>
</head>
<body>
<center>
<p>
<h1>convert ethiopian date to gregorian</h1>
My questtion is to convert ethiopian date to gregorian date automaticaly by using js code and to submit two dates to database from HTML form. <br>
After I write in ethiopianDate textbox when I leave the textbox to convert automaticaly to gregorianDate and
write in gregorianDate textbox.<br> The difficalty is 13 month Ethiopian date in additoin to converting.
</p>
<table style="table-layout: fixed; border-collapse:" border="1" >
<tr bgcolor="lighblue">
<td>
<span>WRITE ETHIOPIAN DATE BELOW</span>
</td>
<td>
<span>GREGORIAN DATE</span>
</td>
</tr>
<form action="" method="POST">
<tr>
<td>
<input type="text" name="ethiopianDate" placeholder="et date">
</td>
<td>
<input type="text" name="gregorianDate" placeholder="gc date">
</td>
</tr>
</table>
<input type="submit" name="save" value = " Save to database" size="15">
</form>
</center>
</body>
</html>

Attachment: converter.rar

Answers (2)