Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Dot Net Json Date Formatter

Dot Net Json Date Formatter Laravel Package

webapix/dot-net-json-date-formatter

Converts .NET JSON dates (/Date(…)/ format) to and from PHP DateTime objects, with Laravel-friendly helpers for parsing and formatting legacy ASP.NET API timestamps.

View on GitHub
Deep Wiki
Context7

webapix/dot-net-json-date-formatter converts PHP Carbon and DateTime values to the .NET JSON date format (\/Date(1700000000000+0000)\/) used by ASP.NET and JavaScript serializers, and parses those strings back into Carbon.

Carbon macros make both directions a one-liner, preserving timezone offsets so PHP and .NET services exchange dates without round-trip drift.

  • toDotNetJsonDate() / fromDotNetJsonDate() macros
  • Emits and reads \/Date(ms+offset)\/ strings
  • Keeps timezone offsets intact
  • Round-trip safe between PHP and ASP.NET
  • Lightweight, built on nesbot/carbon
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
ignibyte/aic-framework
glavweb/data-schema-bundle
glavweb/datagrid-bundle
tacticmedia/scim-server
uni-method/frame
neika-ai/sdk
adachsoft/php-code-style
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
frankyso/ipaymu
3mdikram/worldmoneywords
snowsoft/config
itmosoft/laravel-subscriptions
larva/laravel-ai-qwen
adachsoft/api-version-bundle