TOP
從紙書中看見香港,指定港書滿888再折100
Working with Dates and Times in PHP: Your Essential Resource for PHP Date and Time Operations, from Core Concepts to Advanced Techniques
滿額折

Working with Dates and Times in PHP: Your Essential Resource for PHP Date and Time Operations, from Core Concepts to Advanced Techniques

商品資訊

定價
:NT$ 672 元
無庫存,下單後進貨(到貨天數約30-45天)
下單可得紅利積點 :20 點
商品簡介

商品簡介

What You'll Learn
  • Understand fundamental time concepts: Grasp the distinctions between UTC, GMT, and Unix timestamps, and learn about the importance of ISO 8601 for consistent date and time representation.
  • Master PHP's Modern Date and Time API: Dive deep into the core OOP classes, including DateTimeImmutable, DateTime, DateTimeZone, DateInterval, and DatePeriod, understanding their roles and benefits.
  • Embrace Immutability for Safer Code: Discover why DateTimeImmutable is the preferred choice for reliable and predictable date and time operations, preventing accidental state changes.
  • Work Confidently with Time Zones: Learn how to correctly handle time zones, including the IANA database, UTC offsets, and the common pitfalls of Daylight Saving Time (DST) transitions.
  • Perform Date and Time Calculations: Accurately add, subtract, and compare dates and times using DateInterval and the diff() method.
  • Iterate Through Time Periods: Utilize DatePeriod to generate sequences of dates, perfect for scheduling and recurring events.
  • Format and Parse Dates Like a Pro: Master the format() method and createFromFormat() for both displaying and interpreting date and time strings in various formats.
  • Navigate Database Interactions: Understand how to store and retrieve date and time data in databases, considering different SQL types and time zone implications.
  • Implement Best Practices: Learn crucial strategies like storing dates in UTC, handling user-specific time zones, and keeping your time zone data updated.
  • Avoid Common Pitfalls: Identify and prevent frequent errors related to time zone assumptions, DST, off-by-one calculations, and ambiguous date parsing.
  • Solve Real-World Problems: Explore practical examples and case studies for building event schedulers, calculating ages, generating reports, and more.
  • Explore Third-Party Tools: Get an introduction to popular libraries like Carbon and understand how they can simplify date and time operations.
  • Test Time-Sensitive Logic: Discover effective strategies for testing your date and time code, including mocking time and handling time zone transitions.

購物須知

外文書商品之書封,為出版社提供之樣本。實際出貨商品,以出版社所提供之現有版本為主。部份書籍,因出版社供應狀況特殊,匯率將依實際狀況做調整。

無庫存之商品,在您完成訂單程序之後,將以空運的方式為你下單調貨。為了縮短等待的時間,建議您將外文書與其他商品分開下單,以獲得最快的取貨速度,平均調貨時間為1~2個月。

為了保護您的權益,「三民網路書店」提供會員七日商品鑑賞期(收到商品為起始日)。

若要辦理退貨,請在商品鑑賞期內寄回,且商品必須是全新狀態與完整包裝(商品、附件、發票、隨貨贈品等)否則恕不接受退貨。

定價:100 672
無庫存,下單後進貨
(到貨天數約30-45天)

暢銷榜

客服中心

收藏

會員專區