{ /**************************************************************** Return how many minutes have passed today up to now. *****************************************************************/ public static int GetTotalMinutes() { return DateTime.Now.TimeOfDay.TotalMinutes; } } }
public static int GetTotalMinutes() { return (int)DateTime.Now.TimeOfDay.TotalMinutes; }
Round
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)