How to convert time to number?

how to convert time to number

What kind of number?

convert now to total seconds

Total seconds since? 1/1/1970?

I get it, thanks