Title: Working with Dates
Course: COP 2842 Internet Programming > Section: Ten: Working with Dates

Introduction

In this module, you will learn how to use timestamps to work with dates and times. Timestamps were widely used before PHP 5.0, and you’re likely to encounter them if you work with old PHP code. You will also learn to work with the newer object-oriented approach to working with dates and times that was introduced in PHP 5.0. This approach has several advantages over the timestamp approach and is recommended for new development.

Learning Outcomes

By the end of this section, you will be able to:

- Work with strings, numeric and date data types.

Instructional Objectives

Upon completion of this module, you will be able to:

- Use date data types in a PHP application.

Reading / Resource

Read:

- Chapter 10: How to work with dates (Pages 292-308)