Sunday, August 7, 2011

Convert Current time to minutes

int iGetCurrentTimeInMinutes = (int)DateTime.Now.TimeOfDay.TotalMinutes;

No comments:

Post a Comment

Open default email app in .NET MAUI

Sample Code:  if (Email.Default.IsComposeSupported) {     string subject = "Hello!";     string body = "Excellent!";    ...