Table of Contents

Class DateTimeExtensions

Namespace
JJMasterData.Commons.Extensions
Assembly
JJMasterData.Commons.dll
public static class DateTimeExtensions
Inheritance
DateTimeExtensions
Inherited Members

Methods

ToDateTimeString(DateTime)

Converts a DateTime to a human-friendly l10n string.
Example:
pt-BR: 10/08/2022 23:42:24
en-US: 08/10/2022 11:42:24 PM

public static string ToDateTimeString(this DateTime dateTime)

Parameters

dateTime DateTime

Returns

string