Welcome To Snipplr


Everyone's Recent Snippets Tagged date



1 2 3 4 5 6 7 ... 11
1 274 posted 11 years ago by sjacunningham
echo's: 2008 / 10 - Company name
0 299 posted 11 years ago by withinmedianl
Always forget the correct way of putting this.
0 313 posted 11 years ago by jhonqwerty
2 781 posted 11 years ago by stamba
1 261 posted 11 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 377 posted 11 years ago by Mat_
1 448 posted 11 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 388 posted 11 years ago by munkypot
1 433 posted 11 years ago by online
Grabbed from parsing magento's source code
0 309 posted 11 years ago by dmistriotis
gets you a date string for today in YearMonthDay formant like this 20100917
0 338 posted 11 years ago by jlvallelonga
0 287 posted 11 years ago by mfigge
1 348 posted 11 years ago by g8rpal
If on do nothing. If on make off. If off make on. Alter external value and focus.
0 317 posted 11 years ago by davebowker
0 343 posted 11 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 430 posted 11 years ago by alvincrespo
0 886 posted 11 years ago by icebob
Great for use in site footers.
0 279 posted 11 years ago by batfan
3 401 posted 11 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 277 posted 11 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 514 posted 11 years ago by adrianparr
1 1117 posted 11 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 293 posted 11 years ago by IsoJon
1 2 3 4 5 6 7 ... 11