Home Cooker Classes Others Rice CookerGX
Classes  >  datetime  >  Minute
datetime class : Minute getter

Description

Gets the minute portion represented by this instance.

Syntax

datetimeInstance.Minute

Arguments

None

Return value

ClassDescription
intMinute portion of datetime (from 0 to 59)

Sample code

datetime dt = new datetime(2016, 3, 4, 4, 13, 0);

int minute = dt.Minute;//13

Notes

It's a wrapper of the System.DateTime.Minute.

Links for reference

Copyright © Rice All rights reserved.