i am working with a winsock prog that send current time to server in millisecond

how do i convert time to millisecond i have no idea how my current time =1254193889061

1254193889061 <-- is my time few minutes ago


plz help me with converting time to millisecond !!