DmyHmsToDate Function

Purpose

Returns the date for the given day, month, year, hour, minute, and second.

Syntax

dt = DmyHmsToDate(d, m, y, h, m, s)

dt: Date expression
d, m, y, h, m, s: iexp

Description

Returns the date for the given day, month, year, hour, minute, and second.

Example

OpenW 1

Local x%, dt As Date

dt = DmyHmsToDate(20, 12, 99, 12, 12, 12)

Print dt    // prints: 20.12.99 12:12:12

See Also

DmyToDate, HmsToTime

{Created by Sjouke Hamstra; Last updated: 03/10/2014 by James Gaite}