61
20
Return a random element from a list containing the am and pm value.
chance.amPm(); => am
Return a date containing the current day, month, and year, separated by a dash.
chance.date() => 25-11-2022
Returns a random integer value between 0 and 999.
chance.hour() => 999
chance.millisecond() => 999
Returns a random integer value between 0 and 60.
chance.minute() => 60
Return a random month of the year between January and Decemeber.
chance.month() => July
Return a random integer between 0 and 60.
chance.second() => 30
This returns a string that represents the current time in microseconds
chance.timeStamp() => 1970-01-01T00:00:00Z
Return a random weekday between Sunday and Saturday.
chance.weekday() => Monday