Stash Software API  2.0.0
Functions
sCore.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 sCore.dateTimeLib.getDateIntList ( )

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

Exceptions
N/A
Returns
list of int - Date.

◆ getTimeIntList()

def sCore.dateTimeLib.getTimeIntList ( )

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

Exceptions
N/A
Returns
list of int - Time.

◆ getDateStrList()

def sCore.dateTimeLib.getDateStrList ( )

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

Exceptions
N/A
Returns
list of str - Date.

◆ getTimeStrList()

def sCore.dateTimeLib.getTimeStrList ( )

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

Exceptions
N/A
Returns
list of str - Time.

◆ getDateTimeForFileSystem()

def sCore.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 sCore.dateTimeLib.getDateStamp ( )

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

Exceptions
N/A
Returns
str - Date.

◆ getTimeStamp()

def sCore.dateTimeLib.getTimeStamp ( )

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

Exceptions
N/A
Returns
str - Time.

◆ getDateTimeStamp()

def sCore.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.