Public Function BoolFromStr(s As String) As Boolean
Parse a string to a boolean value.
False values are "False", "No", "Off", "0" - anything else is True
Type Testing and Conversion
Parse a string to a boolean value.
False values are "False", "No", "Off", "0" - anything else is True
Return a boolean value as a bit (0 or 1).
Return a boolean value as 'True' or 'False'.
Returns the date part only of a date/time.
Optionally sets a specific time of day (default is midnight)
Like DateOnly(), but will accept a variant that may be Null, a Date or a String.
Is the variable's value an integer ? The test is regardless of type, so for example a double type variable with a value of 15.0 would return true
Does the string represent a valid boolean value ? Not case sensitive; Accepts: "False", "True", "No", "Yes", "Off", "On", "0", "1", "-1"
Is the date on a Weekend ?
Returns the time part only of a date/time.
Like TimeOnly(), but will accept a variant that may be Null, a Date or a String.