getCreationDate

This function retrieves the JavaScript object that represents the date and time when the file was created.

Syntax

function xweb.file.getCreationDate(
path : String
) : Object

Parameters

path    The location of the file within the site or the add-in folder. If the file is within the site folder, the path must be prefixed by site:. If the file is within the add-in folder, the path must be prefixed by addin:.

Returns

This function returns a JavaScript Date object that contains the date and time that the specified file was created.

See Also

Concepts

file
file Members
xweb

  Copyright © 2011 by Microsoft Corporation. All rights reserved.