Without knowing the units or era for the timestamp of the hexadecimal text, it’s hard to say for sure (and I was a little confused by your example “February 2”, which is not even close to the current date!).
date +%s time_t, Unix ( 1 1970 ).
printf "0x%x" some_number .
/, . bash $(( expression )):
$ time_t=$(date +%s)
$ echo $(($time_t * 1000))
1284505668000
(, "2 ..." ), , , GNU date, -d +%s :
$ date -d 'Tue Feb 2 10:27:46 GMT 2010' +%s
1265106466
:
$ time_t=$(date -d 'Tue Feb 2 10:27:46 GMT 2010' +%s)
$ time_t_ms=$(($time_t * 1000))
$ hexstamp=$(printf "0x%x" $time_t_ms)
$ echo $hexstamp
0x1268e38b4d0