generate unix-timestamp for id