Chapter

Date Input Module

Date Input Module

The Date Input module allows the user to enter a date. You can type in a date, or use the pop-calendar to select one. The Date Input understands these date values:

  • Jan. 12, 2001
  • 10/21/1958
  • 15 JUN 06
  • now
  • yesterday
  • +3 days
  • –10 days
  • +5 hours
  • 1181230100 (utime – the number of seconds that have passed since the beginning of the epoch which is January 1st, 1970)

It is useful for limiting Yahoo Pipe results to a certain date and time (ie Twitter results from the last week, Google news results within the last year etc.) or whatever time frame the user specifies.

In this example, we’ll create a prompt for users to enter their birthday.

We’ll call the input “birthday”. Set the prompt as “Enter Your Birthday”, position as “1”, set the default to “11/28/1986”, and debug “11/28/1986”.

Date Input Module

We can then take this date and wire it into different modules to perform further actions on it.

0 Comments ↓

No comments yet.

Leave a Reply