How to convert string(variable) into date( epoch) in ksh on HPUX machine?

view story

http://www.unix.com – Hi all, I have used a bash script which ultimately converts a string into date using date --date option: Code: DATE=$DATE" "$TIME" "`date +%Y` //concatenating 2 strings TMRW_DATE=`date --date="$DATE" +"%s"` //applying date command on string and getting the unixtime Moderator's Comments: Please use code tags but i'm not able to convert it into a ksh equivalent.So can anybody he (HowTos)