Hi,

how can I set a specific Date/Time to a Date DataType?

Dim myDate as Date


dim d, m, y, min, h, s as integer

'Month:

d = 25
m = 6
y = 1981
'Time:

min = 59
s = 59
h = 23

'Need some Code to set myDate to the Date #min/d/y h:m:s# (with the Variables, of course)

Sebastian