Returns a whole number between 0 and 59, inclusive, representing the minute of the hour.
Minute(time)
The time argument is any expression that can represent a time.
OpenW 1
Local z As Date
z = HmsToTime(110000, 20, 4000)
Print z, Minute(z)
Print Now, Minute(Now)
Print Date, Minute(Date)
Print "12:12:12", Minute(#12:12:12#)
Print FileDateTime("c:\windows\notepad.exe"), Minute(FileDateTime("c:\windows\notepad.exe"))
You can indicate a time in hours, minutes, and seconds, separated by “ : “; or only with four numbers for hours and minutes (with or without the using of AM or PM). Using only 4 characters forces the GFABASIC 32 editor to automatically add “:00“ for the seconds. When using AM or PM the editor automatically converts to 24 hour mode. For instance, "#2:24#" will automatically convert to #14:24:00#, and (#2:24AM#) => (#02:24:00#).
CDate(), Date, Date$, DateAdd(), DateDiff(), DatePart(), DateSerial(), DateTime$(), DateToDmy, DateToDmyHms, DateValue(), Day(), DayNo(), DmyHmsToDate(), DmyToDate(), HmsToTime(), Hour(), IsDate(), Minute(), Month(), Now, Now$(), TimeSerial(), TimeToHms, TimeValue(), Second(), Week(), WeekDay(), Year()
{Created by Sjouke Hamstra; Last updated: 18/10/2014 by James Gaite}