Welcome To Snipplr
Everyone's Recent Snippets Tagged date
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
I always find issue when we want to show date in different format i.e other than mysql default format. (YYYY-MM-DD) using jquery plugin this date format can be converted into any specified date format i.e indian,US,Europe from any html element
0
895
posted 13 years ago by pavanrulz
The date format is dd/mm/YYYY but you can replace slashes by anything else.
0
875
posted 13 years ago by ptiswitz
This command will tell you the date of Installation of your Windows System.
The result will look like this:
*InstallDate = 11:48:12 28.06.2010*
0
1113
posted 13 years ago by bits
These are some date functions.
Get Current Week Start Date
Get Current Week End Date
Get Current Month Start
Get Current Month End
Get Current Year Start
Get Current Year End
and these functions can help you getting last week's start date...
0
724
posted 13 years ago by aamirrajpoot
Just wack this in the footer followed by the company name and you're copyright will always be up to date
0
772
posted 14 years ago by SideProject
From webworks, book "CMS Design Using Php and jQuery", page 93
0
677
posted 14 years ago by shinokada
This takes a date like so: Sat, 08 Jan 2011 from a database and allows you to use it in your code. For example if you wanted to work out a week from Sat, 08 Jan 2011 it can be done with ease. I created this for a project i am currently working on. Th...
0
757
posted 14 years ago by JonnySnip3r
From the tutorial, Validating Various Input Data in Flash (http://active.tutsplus.com/tutorials/actionscript/validating-various-input-data-in-flash/)
1
1120
posted 14 years ago by Activetuts
Parsing an RSS date/time value (as a string) into a date/time object in ColdFusion.
And more additional text.
0
1150
posted 14 years ago by parkerkrhoyt
Use this function if you need to get the same day in the next month (or how many you need).
Using defaults functions of php you got this:
echo date('Y-m-d', strtotime( " + 1 month " , strtotime('2010-01-31'))); (Output: '2010-03-03')
and if yo...
0
640
posted 14 years ago by vitorbari
The code works if and only if your system is using English(United States) date format (i.e. "Web 05/11/2011").
If your systems is using English(United Kingdom) date format just replace %%B in the first and third rows with %%A.
0
1325
posted 14 years ago by cappellin
Here is a little bit of code I use from time to time to make a generic some what safe date selector for forms. I wanted something easy, small, and not relying on images, jquery, libraries, etc... Most importantly I wanted the date that was selected t...
0
768
posted 14 years ago by brownrl
Util para lanzar un procedimiento o una función al elegir una fecha en un ajax calendar
0
782
posted 14 years ago by derebus
Just up arrow to this while you are modifying widget1.svg to easily create timestamped copies.
1
775
posted 14 years ago by aleidax