date command get epoch. There are any references about date command get epoch in here. you can look below.