Date and Time Functions

Koristite izjave i funkcije opisane ovdje za izvođenje izračuna vremena i datuma.

LibreOffice Basic lets you calculate time or date differences by converting the time and date values to continuous numeric values. After the difference is calculated, special functions are used to reconvert the values to the standard time or date formats.

Tip Icon

You can combine date and time values into a single floating-decimal number. Dates are converted to integers, and times to decimal values. LibreOffice Basic also supports the variable type Date, which can contain a time specification consisting of both a date and time.

Converting Date Values

Sljedeća funkcija pretvara datumske vrijednosti u brojeve s mogućnošću računanja i nazad.

Converting Time Values

Sljedeće funkcije pretvaraju vrijeme u računske brojeve.

System Date and Time

Sljedeće funkcije i izjave postavljaju ili vraćaju sustavski datum ili vrijeme.

Please support us!