milliseconds in one minute code example Example: get minute from milliseconds programmatically val minute = (mil / 1000) / 60 val seconds = (mil / 1000) % 60