Share via


SPFieldDateTime.GetFieldValueAsText method

Returns the specified field data value, expressed in Coordinated Universal Time (UTC) format, as a string.

Overload list

  Name Description
Public method GetFieldValueAsText(Object) Returns the specified field data value, expressed in Coordinated Universal Time (UTC) format, as a string. (Overrides SPField.GetFieldValueAsText(Object).)
Public methodStatic member GetFieldValueAsText(DateTime, SPWeb, SPDateFormat) Returns the specified field data value, expressed in Coordinated Universal Time (UTC) format, as a string based on the specified date and time value, parent Web site, and SharePoint Foundation date format.

Top

See also

Reference

SPFieldDateTime class

SPFieldDateTime members

Microsoft.SharePoint namespace