create function for getting current minutes