from typing import Dict
from typing import Any
import time
from datetime import datetime


def get_time_now() -> Dict[str, Any]:
    """Get the current time in UTC as milliseconds.

    Returns:
        dict: The mapping of time now values in UTC.

    """
    time_now: float = time.time()
    milliseconds_now: int = int(round(time_now * 1000))
    datetime_now: datetime = datetime.fromtimestamp(time_now)
    data: Dict[str, Any] = {
        "seconds": time_now,
        "milliseconds": milliseconds_now,
        "datetime": datetime_now,
    }
    return data