Welcome To Snipplr


Everyone's Recent Snippets Tagged date



1 2 3 4 5 6 7 ... 11
1 96 posted 9 years ago by sjacunningham
echo's: 2008 / 10 - Company name
0 104 posted 9 years ago by withinmedianl
Always forget the correct way of putting this.
0 111 posted 9 years ago by jhonqwerty
2 329 posted 9 years ago by stamba
1 89 posted 9 years ago by metoikos
First you have to add a custom value with a correct date format. The lines: `AND CAST(wpostmeta.meta_value AS DATE) > '".date("Y-m-d H:i:s")."' AND CAST(wpostmeta.meta_value AS DATE) < '".date("Y-m-d H:i:s", $date2)."' ` are only used to select d...
0 136 posted 9 years ago by Mat_
1 204 posted 9 years ago by Mat_
Simula in Django i campi created e updated aggiornati automaticamente alla creazione e alla modifica del record (Versione 2 senza funzione save ridefinita)
0 142 posted 9 years ago by munkypot
1 172 posted 9 years ago by online
Grabbed from parsing magento's source code
0 101 posted 10 years ago by dmistriotis
gets you a date string for today in YearMonthDay formant like this 20100917
0 117 posted 10 years ago by jlvallelonga
0 97 posted 10 years ago by mfigge
1 122 posted 10 years ago by g8rpal
If on do nothing. If on make off. If off make on. Alter external value and focus.
0 122 posted 10 years ago by davebowker
0 125 posted 10 years ago by alexandrepayet
Working on creating a 'days ago' script. I know some already exist, but I just want to know how to do it myself. I'm also incorporating leap year functionality and some utility functions that could be used on other projects.
2 168 posted 10 years ago by alvincrespo
0 312 posted 10 years ago by icebob
Great for use in site footers.
0 88 posted 10 years ago by batfan
3 149 posted 10 years ago by rabc
Questo snippet modifica la posizione della data del post se questo è più vecchio di trenta giorni dalla data di pubblicazione.
0 93 posted 10 years ago by gavello
This code uses Senocular SWFReader class to get the modification (publish) date of the SWF, and then displays it as a right-click menu item. You need to make sure that your SWF includes the XMP metadata. In the Flash IDE you can turn this on by going...
2 194 posted 10 years ago by adrianparr
1 444 posted 10 years ago by acosonic
Useful for event dates - looks at the computers clock and tells the user when something will be available (e.g. this friday, tomorrow, etc). In this example I'm just using the day of a month, but you can use any part/the full date if you desire....
0 91 posted 10 years ago by IsoJon
1 2 3 4 5 6 7 ... 11