YetaWF Documentation


DateLong Component

DateLong (Display)

Displays the model formatted as a long textual representation of the date, localized using the user's selected time zone (see User Settings Module). Example: Friday, June 13, 2001.

Model Type: System.DateTime?

All date/time values in YetaWF are internally stored and processed using UTC.

The model value must be specified as UTC. If the model value is null or equal to DateTime.MinValue or DateTime.MaxValue, nothing is rendered.

[Category("Rss"), Caption("Feed Publish Date"), Description("The date this feed was published")]
[UIHint("LongDate"), ReadOnly]
public DateTime? FeedPublishDate { get; set; }