# GetUnixFromDate

## Description

Converts a given date and time into its unix time equivalent, unix time is the number of seconds since 1st Jan 1970. If not using 64 bit values then the unix time value is limited to 1901 to 2038 for the year.

## Definition

integer GetUnixFromDate( year, month, days, hours, minutes, seconds )

int agk::GetUnixFromDate( int year, int month, int days, int hours, int minutes, int seconds )

## Parameters

- year - The year portion of the date.
- month - The month portion of the date, in the range 1 to 12.
- days - The day portion of the date, in the range 1 to 31.
- hours - The hours portion of the date, in the range 0 to 23.
- minutes - The minutes portion of the date, in the range 0 to 59.
- seconds - The seconds portion of the date, in the range 0 to 59.