Wednesday, 4 December 2013
Monday, 28 October 2013
how to split month , year , day from date in php
date('m',strtotime('22-5-2013'))
if u have date data-type then it also possible on this way ..............
date('m',strtotime($arr[1]))
in which $arr[1] is date like 22-10-2013 store in database using date data-type
2nd way ,,,,
SELECT * FROM sochvote WHERE facid=$faculty_name and YEAR( STR_TO_DATE( voteDate, '%d/%m/%Y' ) ) =$year_name ")
if u have date data-type then it also possible on this way ..............
date('m',strtotime($arr[1]))
in which $arr[1] is date like 22-10-2013 store in database using date data-type
2nd way ,,,,
SELECT * FROM sochvote WHERE facid=$faculty_name and YEAR( STR_TO_DATE( voteDate, '%d/%m/%Y' ) ) =$year_name ")
Tuesday, 14 May 2013
Monday, 25 February 2013
dynamic set css in c#
.selected { font-style: bold; }
When a link is clicked set that link's CSS class to "selected" and the others to "";
EDIT: To accommodate for existing Css Class
const string MY_CLASS = "links";
lb1.CssClass = MY_CLASS + " selected"; // selected
lb.CssClass = MY_CLASS; // not selected
Image Rotation in W8 Store app
http://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh700359.aspx
Subscribe to:
Posts (Atom)