Link to home
Start Free TrialLog in
Avatar of Knossos
Knossos

asked on

Visual Basic 6.0 - Unix Timestamp

I've been looking around everywhere, and I cannot find anywhere that tells me how to generate a timestamp from a date (using VB6). I thought there might have been an inbuilt function which generates one, like in PHP.

Anyway, this is pretty important so if anyone knows of a function, or could provide me with source code which generates a timestamp. Please add an answer to this question.

Thanks,
Knossos.
ASKER CERTIFIED SOLUTION
Avatar of Jaime Olivares
Jaime Olivares
Flag of Peru image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
VB 6 has the standard functions Date() and Now()

the Date() function returns todays DATE, without the current time, while Now() returns the Current Date AND time.

AW
Avatar of Knossos
Knossos

ASKER

Cheers Jaime