Skip to main content
Glama
msp_date_time.cpython-310.pyc960 B
o �h��@s"ddlZddlZdefdd�ZdS)�N�returncCsntj��}|����}|durd}nt|��d�}tjd}|�d|d��}|j|j |j |j |j |j |d�S)u' Return the current local date/time and a region string. The result looks like: { "year": 2025, "month": 8, "day": 6, "hour": 14, "minute": 23, "second": 47, "region": "ЕКБ +5" } Nri� z+d)�year�month�day�hour�minute�second�region)�datetime�now� astimezone� utcoffset�int� total_seconds�time�tznamerrrrrr )r Z utc_offset_tdZutc_offset_hoursZtz_abbrZ region_str�r�'C:\Git\PythonUrlFeatch\msp_date_time.py�get_current_time_and_regions   �r)r r�dictrrrrr�<module>s

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/NeoXider/web-search-neo'

If you have feedback or need assistance with the MCP directory API, please join our Discord server