import time


def msecs(unixtime=None):
    """Return number of msec of current time as string."""

    if unixtime is None:
        unixtime = time.time()
    # 1469006952.733832
    # return '1469006952733'
    return str(int(unixtime * 1000))