Show / Hide Table of Contents

Class DateAndTime

A generic object to show date and time in the below specified format

Inheritance
object
DateAndTime
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.LustrefilestorageService.Models
Assembly: OCI.DotNetSDK.Lustrefilestorage.dll
Syntax
public class DateAndTime

Properties

Date

Declaration
[JsonProperty(PropertyName = "date")]
public string Date { get; set; }
Property Value
Type Description
string

A user-friendly date. Example: 2025-04-25

Time

Declaration
[JsonProperty(PropertyName = "time")]
public string Time { get; set; }
Property Value
Type Description
string

A user-friendly time. The format is 'HH:MM', 'HH:MM' represents the time in UTC. Example: 22:00

In this article
Back to top