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
var d = new Date(); var y = new Array(); y[0] = d.getFullYear(); ...
JavaScript Looks a bit messy
Hi all, first time poster h...
def scale_dates(dates):
rel_dates = []
first_day = dates[0]
...
Python Scale data points with the ...
In order to print a chart t...
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...
def first_day_of_month(selected_date) ...
Ruby Splitting array into define...
I'm mainly interested in op...
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...
class Article < ActiveRecord::Base # Find all articles in the given date range based on the published_at field ...
Ruby Building a dynamic date range
I've got a route that handl...
<?php
function fecha ()
{
...
PHP Spanish date Function
by streo.myopenid.com,
November 13, 2007 11:54,
5 refactorings, tagged with php, date, spanish, StReO, 3v-doble
hi, I'm a student and i cre...
anyone has the better solut...