Table of Contents

Class DTOnlyNumber

Namespace
SunamoDateTime.ConvertersSimple
Assembly
SunamoDateTime.dll

Converts DateTime values to number-only string representations without separators.

public class DTOnlyNumber
Inheritance
DTOnlyNumber
Inherited Members
Extension Methods

Methods

To(DateTime)

Converts DateTime to string with only numbers in format YYMMDD

public static string To(DateTime dateTime)

Parameters

dateTime DateTime

The DateTime to convert

Returns

string

String with short year, month and day as YYMMDD