I have a Long Integer number that represents the number of seconds since Jan 1st 1980 - so I use the DateAdd command to convert it into a date - I then use a routine by Chip Pearson to convert that date from Greenich (GMT) to local time.

This same Chip Pearson routine allow me to convert a Local time to GMT time - so now that I have the GMT time - I want to convert it to a long Integer representing the number of seconds since Jan 1st 1980 - But I cannot find that command.

Any help is appreciated.