How to convert a time to a intger just like systime

I want to insert and update the Systime field to PartTran Table.
How can i conver the time value to the intger value?
Any advice?
Many thanks.