C# Class Bzs.Portable.Helpers.DateTimeHelper

Represents a date time helper.
Mostrar archivo Open project: romankmueller/SchoolPlanner

Public Methods

Method Description
DateTimeToString ( System.DateTime dateTime ) : string

Returns a date/time string representation from a date/time.

StringToDateTime ( string dateTimeString ) : System.DateTime

Returns a date/time from a date/time string representation.

Method Details

DateTimeToString() public static method

Returns a date/time string representation from a date/time.
public static DateTimeToString ( System.DateTime dateTime ) : string
dateTime System.DateTime The date/time.
return string

StringToDateTime() public static method

Returns a date/time from a date/time string representation.
public static StringToDateTime ( string dateTimeString ) : System.DateTime
dateTimeString string The date/time string representation.
return System.DateTime