Welcome To Snipplr
Everyone's Recent ASP Snippets Tagged date
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
« Prev 1 Next »
Todays dates are shown as hh:mm, dates from yesterday and earlier as dd mmm.
This can be useful, since recent dates are showing more details
0
837
posted 10 years ago by lakkie
Wanna lose the time portion of the date something was created in a smart search result!?!?
0
640
posted 12 years ago by inreflection7
You don't modify the CMSDesk in order to display only the date or only the time. You do it through the aspx control.
http://authors.aspalliance.com/aspxtreme/sys/globalization/demos/DateTimeFormatInfoGetAllDateTimePatterns.aspx
0
797
posted 12 years ago by inreflection7
gets you a date string for today in YearMonthDay formant like this 20100917
0
659
posted 13 years ago by jlvallelonga
ASP
MySQL: Preventing "Unable to convert MySQL date/time value to System.DateTime" (Invalid Date Data).
Changing the connection string in the web.config to allow zero date and converting it prevents this error.
0
773
posted 13 years ago by jink
A small collection of the most wanted string-functions in ASP / VB.
1
649
posted 14 years ago by choasis
Format strings:
* %A - AM or PM
* %a - am or pm
* %m - Month with leading zeroes (01 - 12)
* %n - Month without leading zeroes (1 - 12)
* %F - Month name (January - December)
* %M - Three letter month name (Jan - Dec)
* $d - Da...
0
987
posted 15 years ago by DaveChild
« Prev 1 Next »