Data-Test-Executer Framework speziell zum Test von Datenverarbeitungen mit Datengenerierung, Systemvorbereitungen, Einspielungen, ganzheitlicher diversifizierender Vergleich
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
480 B

3 years ago
# functions related to Date-fields
# -----------------------------------------------------
"""
additionally functions for calculating date with formulas like [DATE+2M] and for comparison of date related on two reference-dates
"""
import datetime
F_DIR = "%Y-%m-%d_%H-%M-%S"
def getActdate(format):
return getFormatdate(datetime.datetime.now(), format)
3 years ago
3 years ago
def getFormatdate(date, format):
3 years ago
""" it return the date as string in the format """
3 years ago
return date.strftime(format)