This blog post will guide you through implementing OTP verification during user signup using C# in ASP.NET MVC5. I've simplified the steps to make the OTP verification process clear and easy to Implement.
Need help? Don't hesitate to reach out for assistance via email at rajkumar9795@gmail.com.
public enum BranchCode
{
Branch1=1,
Branch2,
Branch3
}
Console.Write(((int)BranchCode.Branch2));
<input type="date" name="DOB" id="dob" placeholder="Date of Birth " >
Input type date takes date in format of yyyy-mm-dd. But it will show you as per your local clock setting.var dt = new Date($("#ddob").val().split("/").reverse().join("/"));
var td = dt.getFullYear() + "-";
month = (dt.getMonth() + 1);
if (month < 10)
td += "0" + month;
else
td += month;
td += "-";
day = dt.getDate();
if (day < 10)
td += "0" + day;
else
td += day;
$("#dob").val(td);