bitrix-datetime

Community

TZ-aware Bitrix Date/Time handling.

Authorbxmaximum
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Bitrix applications often struggle with consistent date/time handling across server and user time zones, plus culture-aware formatting and correct persistence in ORM fields. This skill consolidates support for Bitrix\Main\Type\Date and Bitrix\Main\Type\DateTime, parsing and formatting using core masks, and converting between server time and user time. It enables reliable scheduling, time zone math, and correct storage of date-time values in DateField and DatetimeField.

Core Features & Use Cases

  • Parsing and formatting using Bitrix core masks for Date/DateTime and culture-aware representations.
  • Time zone handling with toUserTime/disableUserTime/enableUserTime to display and store times correctly.
  • ORM integration for DateField/DatetimeField with timestamp conversion and cross-time-zone calculations.

Quick Start

Parse a date string, convert to server time, and format it according to the site's culture.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: bitrix-datetime
Download link: https://github.com/bxmaximum/bitrix_ai_challenge/archive/main.zip#bitrix-datetime

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.