This is a FAQ and also appears in the Q&A section of the site.
In reply to Re: Converting date to epoch time by Fastolfe in thread Converting date to epoch time by Anonymous Monk