hmCal_Date2Seconds

hmCal_Date2Seconds(date;seconds) -> unix-time

Parameter          Type             Description
date               Date         ->  date
seconds            Longint      ->  seconds
unix-time          Longint      <-  unix-time

Description

The command hmCal_Date2Seconds returns the unixtime from the parameters date and seconds. The unix-time is the count of seconds since january 1st, 1970.

Example

The following example returns the current unix-time:

C_LONGINT($vl_unixtime)

$vl_unixtime:=hmCal_Date2Seconds(Current Date;Current Time+0)