Click or drag to resize

Format Class

Helper function for data formatting
Inheritance Hierarchy
SystemObject
  SOWIData.HelperFormat

Namespace:  SOWIData.Helper
Assembly:  SOWIData.Helper (in SOWIData.Helper.dll) Version: 19.1.23.1 (19.1.23.622)
Syntax
public static class Format

The Format type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAddress
Gives address as a letter address format for CH
Public methodStatic memberDateFormat
Gives date formatted (dd.MM.yyyy). If start date equal null then gives a empty string ("").
Public methodStatic memberDateTimeFormat
Gives date and time formatted (dd.MM.yyyy HH:mm). If start date equal null then gives a empty string ("").
Public methodStatic memberCode exampleTimeFormat
Time format 0h:00m or 00m (when no hours)
Examples

Example: total 98 minutes (integer) gives 1h:38m (string)

Return Value

Type: 

Formatted number

Public methodStatic memberCode exampleTimeRound
Round time up or down of Min step.
Examples

Example: pRoundMinStep = 15 minute and pDateTime = 4 minutes

when pRound is Up then is return value 15 minutes and

when pRound is Down is return value 0 minute

Top
See Also