DateTime

DateTime class

Elements

enum
Format Format
function
current Возвращает "Unix timestamp" - число секунд, прошедшее с 00:00:00 UTC 1 января 1970 года
day Returns the day of the month (1-31) for a given date
dayOfWeek Returns the day of the week for a given date
format Конвертирует Unix timestamp в строку в один из форматов DateTime.Format
fromString Converts a string specified in one of the formats DateTime.Format
in unix timestamp (number of seconds elapsed since 01/01/1970)
hour Returns the hour for the passed time
minute Returns the day of the week for a given date
month Returns the month number of the specified time.
seconds The number of seconds elapsed since the beginning of the minute for a given date
year Returns year of the specified date