Navigation Home / Tags / Date

ranking Sort Sort   |   date Sort Sort   |   member Sort Sort
Syndication

« Previous 1 2 Next »
0
Date Submitted Fri. Oct. 25th, 2013 2:48 AM
Revision 1
Beginner codingforever99
Tags Date | Password | PHP | Userame | validation
Comments 0 comments
Simple PHP functions to validate username, password and date, functions check the input format and allowed characters and then return TRUE for valid data and FALSE for invalid data.
username, password and date validation with php
0
Date Submitted Sun. Sep. 23rd, 2012 1:14 AM
Revision 1
Beginner DevlshOne
Tags "month conversion" | Date | month | PHP
Comments 0 comments
This PHP function allows you to convert a month number to one of three optional alphabetical strings.
Usage:
$strMonth = toMonth(9) // returns "September"
$strMonth = toMonth(9,1) // returns "Sep"
$strMonth = toMonth(9,2) // returns "SEP"

Enjoy!
1
Date Submitted Thu. Dec. 24th, 2009 1:38 PM
Revision 1
Helper chorny
Tags Date | filelist | Perl | sorting
Comments 0 comments
Sorts list of files by date of change, most recent ones first
1
Date Submitted Mon. Aug. 10th, 2009 12:53 AM
Revision 1
Scripter Cloudgen
Tags Date | Spanish
Comments 0 comments
This is a handy code for displaying date in spanish. On line example:
To write a date in Spanish
See discussion: here
1
Date Submitted Tue. Mar. 17th, 2009 4:54 AM
Revision 1
Scripter mycodeofshailendra
Tags Date | Parse
Comments 0 comments
Code to parse string date
4
Date Submitted Mon. Dec. 29th, 2008 2:11 PM
Revision 1
Helper ffxfiend
Tags "find date" | Date | PHP
Comments 0 comments
This function will let you find the Sunday, Monday, Tuesday, etc of a month and return to you that date.

It is a modification of a script I found online at this site: http://filchiprogrammer.wordpress.com/2008/02/27/getting-the-first-monday-of-the-month/.

The function takes three arguments, the month, year and the weekday you are looking for. The weekday is represented by an integer, 0 for Sunday, 1 for Monday and so on.
4
Date Submitted Mon. Dec. 29th, 2008 2:03 PM
Revision 1
Helper ffxfiend
Tags Date | future | PHP
Comments 0 comments
This function will take four arguments, the year, month, day and number of days in the future you want to go and return to you as an array (year,month,day) of that date.

It is a simple function that is only for convenience. It is meant to be used in conjunction with the list() command.
5
Date Submitted Tue. Mar. 6th, 2007 8:26 PM
Revision 1
Beginner overPlumbum
Tags age | Date
Comments 1 comments
Optimized way to calculate age from timestamp,
the idea is not to use date() call at all if possible.
5
Date Submitted Fri. Oct. 27th, 2006 9:33 AM
Revision 1
Helper bright
Tags Date | Delphi | Julian
Comments 0 comments
This function will convert a Date (passed as type TDateTime) to a long-format Julian calendar date (result as type String).
14
Date Submitted Mon. Oct. 23rd, 2006 10:19 PM
Revision 1
Helper jdenton
Tags Calendar | Date | days | PHP
Comments 0 comments
daysBeteenDates will calculate the number of days between 2 dates in the form of 'YYYY-MM-DD'.
« Previous 1 2 Next »