compare To Current Time in asp.net public static bool compareToCurrentTime(string time) { time = convert12To24(time); int hr = DateTime.Now.Hour; int min = DateTime.Now.Minute; string current = ((hr < 10) ? "0" : "") + hr + ":" + ((min < 10) ? "0" : "") + min; if (time.CompareTo(current) >= 0) { return true; } else return false; }
ERP Project Management,Asp.net,PL SQL Tips for error resolution,Research,Software Errors and solution,SQL 2014,2012,2008,Procedural language,SP,Power BI,excel macro ,Musical notations,Business software,Degree, diploma related informations.