I need a function to calculate Seconds since 1970

Thanks.