function mdy($mid = "month", $did = "day", $yid = "year", $mval, $dval, $yval)
{
if(empty($mval)) $mval = date("m");
...
PHP Month Day Year Smart Dropdowns
by https://www.google.com/accounts/o8/id?id=AItOawkrlIWZOJFG_JL2F2-39pufYjElslWtCGU,
September 15, 2011 04:55,
8 refactorings, tagged with time, php, date, code
#!/usr/bin/env ruby # # Define window start/stop times ...
Ruby Detect time window
I needed to detect if the c...
def self.at_beginning_of_interval(time, interval_type)
#simple substraction does not (seem) to work for long intervals (summer/winter time ?)
#and at_beginning_of_hour is not defined
...
Ruby At beginning of interval
This code was necessary sin...
# Syncronize it # Version 0.1 # Author : kyzh@snibbits.net ...
Ruby very simple .srt resyncroniser
sick of seeking into the su...
DateTime todayUTC = DateTime.Today.ToUniversalTime(); DateTime currentTimeUTC = todayUTC; ...
C# Generating a list of time v...
I need to generate a list o...
def date(date, time = false)
date = Date.parse(date) if date.is_a? String
day = date.strftime('%d')
...
Ruby Human Date Method
Seems like this method coul...
#Functions [javscript] var ms = 0; var state = 0; ...
JavaScript Stop Watch
by richardhealy,
October 27, 2007 13:31,
3 refactorings, tagged with time, clock, speed, test, javascript
I use this to test speed of...
http://www.snippetsmania.com/