MECO™ API Reference
Functions
mCore.dateTimeLib Namespace Reference

[ MODULE ] - Functionalities to operate with date and time. More...

Functions

def getDateIntList ()
 Get date as int list in [YYYY, MM, DD] format. More...
 
def getTimeIntList ()
 Get time as int list in [HH, MM, SS] format. More...
 
def getDateStrList ()
 Get date as string list in [YYYY, MM, DD] format. More...
 
def getTimeStrList ()
 Get time as string list in [HH, MM, SS] format. More...
 
def getDateTimeForFileSystem ()
 Get date and time as single string in "YYYY.MM.DD_HH.MM.SS" format. More...
 
def getDateStamp ()
 Get date as string in "YYYY.MM.DD" format. More...
 
def getTimeStamp ()
 Get time as string in "HH:MM:SS" format. More...
 
def getDateTimeStamp ()
 Get date and time as single string in "YYYY.MM.DD - HH:MM:SS" format. More...
 

Detailed Description

[ MODULE ] - Functionalities to operate with date and time.

Function Documentation

◆ getDateIntList()

def mCore.dateTimeLib.getDateIntList ( )

Get date as int list in [YYYY, MM, DD] format.

Exceptions
N/A
Returns
list of int - Date.

◆ getTimeIntList()

def mCore.dateTimeLib.getTimeIntList ( )

Get time as int list in [HH, MM, SS] format.

Exceptions
N/A
Returns
list of int - Time.

◆ getDateStrList()

def mCore.dateTimeLib.getDateStrList ( )

Get date as string list in [YYYY, MM, DD] format.

Exceptions
N/A
Returns
list of str - Date.

◆ getTimeStrList()

def mCore.dateTimeLib.getTimeStrList ( )

Get time as string list in [HH, MM, SS] format.

Exceptions
N/A
Returns
list of str - Time.

◆ getDateTimeForFileSystem()

def mCore.dateTimeLib.getDateTimeForFileSystem ( )

Get date and time as single string in "YYYY.MM.DD_HH.MM.SS" format.

Exceptions
N/A
Returns
str - Date and time.

◆ getDateStamp()

def mCore.dateTimeLib.getDateStamp ( )

Get date as string in "YYYY.MM.DD" format.

Exceptions
N/A
Returns
str - Date.

◆ getTimeStamp()

def mCore.dateTimeLib.getTimeStamp ( )

Get time as string in "HH:MM:SS" format.

Exceptions
N/A
Returns
str - Time.

◆ getDateTimeStamp()

def mCore.dateTimeLib.getDateTimeStamp ( )

Get date and time as single string in "YYYY.MM.DD - HH:MM:SS" format.

Exceptions
N/A
Returns
str - Date and time.
mCore.dateTimeLib.getDateTimeForFileSystem
def getDateTimeForFileSystem()
Get date and time as single string in "YYYY.MM.DD_HH.MM.SS" format.
Definition: dateTimeLib.py:114
mCore.dateTimeLib.getDateStamp
def getDateStamp()
Get date as string in "YYYY.MM.DD" format.
Definition: dateTimeLib.py:127
mCore.dateTimeLib.getTimeIntList
def getTimeIntList()
Get time as int list in [HH, MM, SS] format.
Definition: dateTimeLib.py:80
mCore.dateTimeLib.getDateTimeStamp
def getDateTimeStamp()
Get date and time as single string in "YYYY.MM.DD - HH:MM:SS" format.
Definition: dateTimeLib.py:151
mCore.dateTimeLib.getDateIntList
def getDateIntList()
Get date as int list in [YYYY, MM, DD] format.
Definition: dateTimeLib.py:70
mCore.dateTimeLib.getTimeStamp
def getTimeStamp()
Get time as string in "HH:MM:SS" format.
Definition: dateTimeLib.py:139
mCore.dateTimeLib
[ MODULE ] - Functionalities to operate with date and time.
Definition: dateTimeLib.py:1
mCore.dateTimeLib.getTimeStrList
def getTimeStrList()
Get time as string list in [HH, MM, SS] format.
Definition: dateTimeLib.py:102
mCore.dateTimeLib.getDateStrList
def getDateStrList()
Get date as string list in [YYYY, MM, DD] format.
Definition: dateTimeLib.py:90