Date & Time

Results 1 - 20 of 24

Sort by:

Creating a count down system

In this tutorial I will show you how to create a simple count down system.

  • Price: Free
  • Views: 2,037

date manipulation functions

A collection of 4 date functions that includes how to add days to today's date,How to find anyone's age, how to get today's date with your time zone and how to get the end of any month from today's date.

  • Price: Free
  • Views: 68

Display Date and Time ih PHP

In this code sample we will take a look at how to display date or time in our HTML pages. In PHP date() function can be used for to display in different ways. Let's see our sample.

(3.67 out of 5) from 6 Ratings

  • Price: Free
  • Views: 3,765

Snippet: Converting Seconds to Readable Time (PHP & JS)

Sometimes, you might need to convert an integer representing seconds into a format that is easier to read. These functions can be used to turn a number of seconds into a simple format of HH:MM:SS, with leading zeros (ex. 15272 = 04:14:32). This can be...
(show more)

  • Price: Free
  • Views: 77

Calculating the remainder of a subscription time in PHP

To calculate the remainder of a subscription time in PHP we need three items: the end date from the future in timestamp format, the current date in timestamp format, and a function to convert the difference between the two from seconds into days, months...
(show more)

  • Price: Free
  • Views: 31

Get date by position (ie. third Wednesday of January)

Allows you to convert: "third Wednesday of January" to the actual date value.

  • Price: Free
  • Views: 50

How to validate a date without having to put together regular expressions in PHP

When validating dates in PHP you can either do it the hard way, by spending some time putting together a regular expression, or the easy way, by using a predefined function.

  • Price: Free
  • Views: 24

Working With Time Zones in PHP

This tutorial explains how to handle converting times to different time zones using the DateTime and DateTimeZone classes provided by PHP 5.2.0+. It will show how to collect the time zone in the Area/Location format and how to use it for converting to...
(show more)

  • Price: Free
  • Views: 96

The Date of Easter

This simple PHP example will generate and output the date of easter for any given year. It is very simple, and most people will easily understand it.

  • Price: Free
  • Views: 768

Scheduling content display

This tutorial is for newbies that want a simple script for displaying content in their site for X amount of time.

  • Price: Free
  • Views: 429

Calculating the Difference Between Two Dates

How to calculate the difference between two dates in PHP.

  • Price: Free
  • Views: 465

Program in PHP simple calendar in 8 steps

Learn how to program in php language a simple daily calendar by using 8 steps presented in this tutorial. A very complete tutorial that explains some features using php language. Very complexe tutorial where you can learn php language, css & html all in...
(show more)

(4.67 out of 5) from 3 Ratings

  • Price: Free
  • Views: 1,183

Calculate a Person's Age From Two Dates

Many registration forms request registrants' birth dates. This function allows you to use that information to determine a person's age. This is useful when determining whether COPPA requires parental consent (if the user is under 13).

(4.67 out of 5) from 3 Ratings

  • Price: Free
  • Views: 1,188

Page Load Time Walkthrough

This tutorial will show you how to add your page load time to your PHP pages. It includes code that is able to be copy and pasted for easy assembly.

  • Price: Free
  • Views: 2,431

Displaying the date using the date function

Tutorial was written for the newbie PHP programmer to show how to use the date function to display the date using PHP. We also show you the aruments to pass to the date function to display the date the way you want it. Also included are examples.

(4.67 out of 5) from 6 Ratings

  • Price: Free
  • Views: 2,481

Working with dates and times in PHP

In this tutorial, you will be introduced to dealing with dates in PHP.

(2.33 out of 5) from 3 Ratings

  • Price: Free
  • Views: 6,430

Days Between Now And Future Date

This will calculate and show how many days there are from the current date to a date in the future that you define.

(4.00 out of 5) from 3 Ratings

  • Price: Free
  • Views: 5,464

Title Bar Date Script

A code snippet that displays today's date in the title bar of your web page.

(4.00 out of 5) from 6 Ratings

  • Price: Free
  • Views: 2,666

Displaying the Current Date and Time

Displaying the Current Date and Time. All data which may be obtained with command Date() is shown. A couple of examples are included: link of the day and local time

(4.11 out of 5) from 18 Ratings

  • Price: Free
  • Views: 7,333

Educadito v.php

PHP function to greet the user, according to the hour. Written in Spanish.

  • Price: Free
  • Views: 1,411
<< previous
 ( 1 | 2next >>