EnglishРусский  

Ads

Scriptius script builder
Provides the best choice in work automation and great time saving features.

CreateInstall
Freeware and commercial installers.

Cell Phone Batteries
Batteries Plus offers batteries for laptop, camcorder, cell phone, camera.

Gentee needs your help!
How to advertise with us
 
laptop battery

Date & Time

Functions for working with date and time.

 

Operators

datetime = datetime Copying datatime structure.
datetime += uint Adding days to a date.
datetime -= uint Subtracting days from a date.
datetime - datetime Difference between two dates as days and time.
datetime == datetime Comparison operations.
datetime < datetime Comparison operation.
datetime > datetime Comparison operation.

Functions

abbrnameofday Get the short name of a weekday in the user's language.
days The number of days between two dates.
daysinmonth The number of days in a month.
firstdayofweek Get the first day of a week for the user's locale.
getdateformat Get date in the specified format.
getdatetime Getting date and time as strings.
gettimeformat Get time in the specified format.
isleapyear Leap year check.
nameofmonth Get the name of a month in the user's language.

Methods

datetime.dayofweek Get the weekday.
datetime.dayofyear Get the number of a particular day in the year.
datetime.gettime Getting the current date and time.
datetime.setdate Specifying a date.

File time functions and operators

filetime = filetime Copying filetime structure.
filetime == filetime Comparison operations.
filetime < filetime Comparison operation.
filetime > filetime Comparison operation.
datetimetoftime Converting date from datetime into filetime.
ftimetodatetime Converting date from filetime into datetime.
getfiledatetime Getting date and time as strings.

Types

datetime The datetime structure.
filetime The filetime structure.
Edit