Приглашаем посетить
Кулинария (cook-lib.ru)

Chapter 26. Working with Dates and Times

Previous
Table of Contents
Next

Chapter 26. Working with Dates and Times

Most web applications must deal with the date or time at which something happensfor instance, when a user was created, when a transaction occurred, or how long it has been since a user has logged in to an account. As this chapter explains, between the operating system, our database servers, and PHP itself, these dates and times are represented and manipulated in a number of ways.

Throughout this chapter, we will investigate

  • How dates and times are represented in code

  • How web applications represent and manipulate time

  • How to convert time and date formats

  • How to output user locale-and language-specific dates and times


Previous
Table of Contents
Next