Methods
date.get_minutes()
Retrieve the minute component from zero to fifty nine for the current date instance.
The get_minutes method returns the minute value as an integer from 0 to 59 for the current NepaliDate instance. It is derived from the underlying timestamp representing the recorded time of the date object.
Import
from nepali_date_library import NepaliDateSignature
def get_minutes(self) -> int:Parameters
- None.
Return Value
- Type:
int - Range:
0to59 - Description: Minute integer between 0 and 59.
Example
from nepali_date_library import NepaliDate
now = NepaliDate()
print(f"Current minute: {now.get_minutes()}")Related
date.get_hours(): Retrieve the hour component.date.get_seconds(): Retrieve the second component.
Advertisement
date.get_hours()
Retrieve the hour component from zero to twenty three for the current date instance.
date.get_seconds()
Retrieve the second component from zero to fifty nine for the current date instance.