DateTimeExtensionWebToString Method |
Get a fixed string representation of a DateTime value
to use over the internet.
Namespace: ArtDatabankenAssembly: ArtDatabanken (in ArtDatabanken.dll) Version: 1.3.0.0 (1.3.0.0)
Syntax public static string WebToString(
this DateTime value
)
<ExtensionAttribute>
Public Shared Function WebToString (
value As DateTime
) As String
public:
[ExtensionAttribute]
static String^ WebToString(
DateTime value
)
[<ExtensionAttribute>]
static member WebToString :
value : DateTime -> string
Parameters
- value
- Type: SystemDateTime
DateTime value to convert to a string.
Return Value
Type:
StringThe DateTime value as a string.
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