Welcome To Snipplr


Everyone's Recent Snippets Tagged date



1 ... 4 5 6 7 8 ... 11
In drupal, you can configure custom formats at: http://yourdomain.com/admin/settings/date-time/formats/add You can also use these in a custom php function like: <?php>created, 'custom', "F jS, Y"); ?> To look up more options see http://php.ne...
1 273 posted 11 years ago by MikeyLikesIt
Changing the connection string in the web.config to allow zero date and converting it prevents this error.
0 460 posted 11 years ago by jink
JS to dynamically update year -- good for copyright.
0 339 posted 11 years ago by mennyj
Gets seconds and returns it like Facebook/Twitter style: "2 minutes ago", "9 hours ago", etc... The script actually returns "1 minute", "17 days"... so that you can customize it: "3 seconds ago", "in 1 minute", "will take 4 days", etc.
0 574 posted 11 years ago by LuckyShot
0 317 posted 11 years ago by vagrantradio
0 383 posted 11 years ago by metoikos
0 330 posted 11 years ago by cigraphics
0 618 posted 11 years ago by leonelsantos
0 308 posted 11 years ago by eme_dlr
converts date/time that sharepoint kicks out to m/d/y format.
0 361 posted 11 years ago by rumremix
probably not the best way but easy enough
0 475 posted 11 years ago by jjdowding
Will convert all of the mysql dates on the page to be localized.
0 359 posted 11 years ago by yisreldov
1 283 posted 11 years ago by habib123
Creates a DATE and TIME object that can be places on a site. OPEN-SOURCE: Free to download, use, modify and distribute - so long as all Credits/Comments are left INTACT. If you have any thoughts, comments or ideas for this script (or another script...
1 543 posted 11 years ago by darksider
Calculate the difference from two date in days
0 396 posted 11 years ago by gfazioli
This will convert dates from MM-DD-YYYY to YYYY-MM-DD (iso format)
1 490 posted 11 years ago by bradless
This is used to display the date the item was created, within the item page. DATE_FORMAT_LC2 can be changed to suit allowable Joomla variants.
0 268 posted 11 years ago by K2Joom
A smart Javascript date picker.
0 378 posted 11 years ago by jaff
Frequently I like to make data more user friendly, so while I make it easy for them to add a date as a shorthand format (mm/dd/yyyy) I like to return it as something easier to digest (Day of Month in Year, etc). This is the simplest way to do that I'...
0 355 posted 11 years ago by xekonic
Patterns: http://www.geekzilla.co.uk/View00FF7904-B510-468C-A2C8-F859AA20581F.htm
0 372 posted 11 years ago by arpit
0 355 posted 11 years ago by darokin
Calculate date time difference
0 431 posted 11 years ago by fwso
Used to generates fake orders for Zen-Cart.
0 311 posted 11 years ago by fwso
1 ... 4 5 6 7 8 ... 11