Click or drag to resize

ExtensionsConvertionsToOrdinalDate Method

Converts a DateTime to ordinal date. An ordinal date is a calendar date typically consisting of a year and a day of year ranging between 1 and 366 (starting on January 1).

Namespace:  Cauldron
Assembly:  Cauldron (in Cauldron.dll) Version: 3.2.0.1 (3.2.0.1)
Syntax
C#
public static string ToOrdinalDate(
	this DateTime date
)

Parameters

date
Type: SystemDateTime
The date to convert

Return Value

Type: String
A ordinal formatted string representation of the date

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type DateTime. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also