Expand Minimize

StorageFolder.DateCreated | dateCreated property

Applies to Windows and Windows Phone

Gets the date and time that the current folder was created.

Syntax


public:
property DateTime DateCreated { 
   DateTime get();
}

Property value

Type: Date [JavaScript] | System.DateTimeOffset [.NET] | Windows::Foundation::DateTime [C++]

The date and time that the current folder was created as type DateTime.

For example: Fri Sep 16 13:47:08 PDT 2011.

Remarks

If the date property isn't set, this value defaults to 0 which can be translated into misleading dates in different programming languages. In JavaScript, for example, 0 translates to December 16, 1600. You should always check that this property is a real value and not 0.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows.Storage
Windows::Storage [C++]

Metadata

Windows.winmd

See also

StorageFolder

 

 

Show:
© 2014 Microsoft