ExtensionToDateWebFormat Method |
Namespace: Velo.Data.Helper
| Exception | Condition |
|---|---|
| Exception |
Exception message: startIndex cannot be larger than length of string. Parameter name: startIndex.
Gives an empty text return. |
Using Velo.Data.Helper
/// <summary> /// Date web formatted (yyyy-MM-dd) for web element "Input". /// </summary> /// <seealso cref="Velo.Data.Helper.Extension.ToDateWebFormat(DateTime)"/> public string DateWebFormatted { get { return this.Date.ToDateWebFormat(); } set { this.Date = Convert.ToDateTime(value); } }