Ask Learn
Preview
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
deprecated
Returns the number of seconds past the minute represented by this date. -or- Sets the seconds of this Date
to the specified value.
[System.Obsolete("deprecated")]
public virtual int Seconds { [Android.Runtime.Register("getSeconds", "()I", "GetGetSecondsHandler")] get; [Android.Runtime.Register("setSeconds", "(I)V", "GetSetSeconds_IHandler")] set; }
[<System.Obsolete("deprecated")>]
[<get: Android.Runtime.Register("getSeconds", "()I", "GetGetSecondsHandler")>]
[<set: Android.Runtime.Register("setSeconds", "(I)V", "GetSetSeconds_IHandler")>]
member this.Seconds : int with get, set
the number of seconds past the minute represented by this date.
Property getter documentation:
Returns the number of seconds past the minute represented by this date. The value returned is between 0
and 61
. The values 60
and 61
can only occur on those Java Virtual Machines that take leap seconds into account.
This member is deprecated. As of JDK version 1.1, replaced by Calendar.get(Calendar.SECOND)
.
Java documentation for java.util.Date.getSeconds()
.
Property setter documentation:
Sets the seconds of this Date
to the specified value. This Date
object is modified so that it represents a point in time within the specified second of the minute, with the year, month, date, hour, and minute the same as before, as interpreted in the local time zone.
This member is deprecated. As of JDK version 1.1, replaced by Calendar.set(Calendar.SECOND, int seconds)
.
Java documentation for java.util.Date.setSeconds(int)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign in