Codigo php para sacar el dia y el mes de una fecha dada

Amigos me hace falta extraer el dia y el mes de una fecha determinada porfavor me pueden ayudar con algun codigo

gracias

Si, hombre... aquí

jefe no tengo acceso a internet a full mira ver si puedes copiar el codigo

<!doctype html><html onmousemove="google&&google.fade&&google.fade()"><head><meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>Google</title><script>window.google={kEI:"_pUqS6DmEsinjAeCl4SaBw",kEXPI:"17259,22014,22715,23129",kCSI:{e:"17259,22014,22715,23129",ei:"_pUqS6DmEsinjAeCl4SaBw"},pageState:"#",kHL:"es",time:function(){return(new Date).getTime()},log:function(b,d,c){var a=new Image,e=google,g=e.lc,f=e.li;a.onerror=(a.onload=(a.onabort=function(){delete g[f]}));g[f]=a;c=c||"/gen_204?atyp=i&ct="+b+"&cad="+d+"&zx="+google.time();a.src=c;e.li=f+1},lc:[],li:0,j:{en:1,l:function(){},e:function(){},b:location.hash&&location.hash!="#",pl:[],mc:0,sc:0.5}};(function(){for(var d=0,c;c=["ad","bc","p","pa","zd","ac","pc","pah","ph","sa","xx","zc","zz"][d++];)(function(a){google.j[a]=function(){google.j.pl.push([a,arguments])}})(c)})();
window.google.sn="webhp";window.google.timers={load:{t:{start:(new Date).getTime()}}};try{window.google.pt=window.gtbExternal&&window.gtbExternal.pageT();}catch(u){}window.google.jsrt_kill=1;
</script><style>td{line-height:.8em;}.gac_m td{line-height:17px;}form{margin-bottom:20px;}body,td,a,p,.h{font-family:arial,sans-serif}.h{color:#36c}.q{color:#00c}.ts td{padding:0}.ts{border-collapse:collapse}em{font-weight:bold;font-style:normal}.lst{font:17px arial,sans-serif;margin-bottom:.2em;vertical-align:bottom;}input{font-family:inherit}.lsb,.gac_sb{font-size:15px;height:1.85em!important;margin:.2em;}#fctr,#ghead,#pmocntr,#sbl,#tba,#tbe,.fade{opacity:0;}#fctr,#ghead,#pmocntr,#sbl,#tba,#tbe,.fade{background:#fff;}#gbar{float:left;height:22px}.gbh,.gbd{border-top:1px solid #c9d7f1;font-size:1px}.gbh{height:0;position:absolute;top:24px;width:100%}#gbs,.gbm{background:#fff;left:0;position:absolute;text-align:left;visibility:hidden;z-index:1000}.gbm{border:1px solid;border-color:#c9d7f1 #36c #36c #a2bae7;z-index:1001}#guser{padding-bottom:7px !important;text-align:right}#gbar,#guser{font-size:13px;padding-top:1px !important}.gb1,.gb3,.gb3i,.gb3f{zoom:1;margin-right:.5em}.gb2,.gb2i,.gb2f{display:block;padding:.2em .5em}a.gb1,a.gb2,a.gb3,a.gb4{color:#00c !important}.gb2,.gb2i,.gb2f,.gb3,.gb3i,.gb3f{text-decoration:none}a.gb2:hover{background:#36c;color:#fff !important}</style><noscript><style>#fctr,#ghead,#pmocntr,#sbl,#tba,#tbe,.fade{opacity:1;}</style></noscript><script>var _gjwl=location;function _gjuc(){var b=_gjwl.href.indexOf("#");if(b>=0){var a=_gjwl.href.substring(b+1);if(/(^|&)q=/.test(a)&&a.indexOf("#")==-1&&!/(^|&)cad=h($|&)/.test(a)){_gjwl.replace("/search?"+a.replace(/(^|&)fp=[^&]*/g,"")+"&cad=h");return 1}}return 0}function _gjp(){!(window._gjwl.hash&&window._gjuc())&&setTimeout(_gjp,500)};
google.y={};google.x=function(e,g){google.y[e.id]=[e,g];return false};window.rwt=function(a,e,f,j,k,g,l,m){try{if(a===window){a=window.event.srcElement;while(a){if(a.href)break;a=a.parentNode}}var b=encodeURIComponent||escape,c;c=a.getAttribute("href");
var n=["/url?sa=t","",e?"&oi="+b(e):"",f?"&cad="+b(f):"","&ct=",b(j||"res"),"&cd=",b(k),"&url=",b(c).replace(/\+/g,
"%2B"),"&ei=","_pUqS6DmEsinjAeCl4SaBw",g?"&usg="+g:"",l].join("");a.href=n;a.onmousedown=""}catch(o){}return true};
window.gbar={qs:function(){},tg:function(e){var o={id:'gbar'};for(i in e)o[i]=e[i];google.x(o,function(){gbar.tg(o)})}};</script></head><body bgcolor=#ffffff text=#000000 link=#0000cc vlink=#551a8b alink=#ff0000 onload="try{!google.j.b&&document.f.q.focus()}catch(e){};if(document.images)new Image().src='/images/nav_logo7.png'" topmargin=3 marginheight=3><textarea id=csi style=display:none></textarea><script>if(google.j.b)document.body.style.visibility='hidden';</script><iframe name=wgjf style=display:none src="" onload="google.j.l()" onerror="google.j.e()"></iframe><textarea id=wgjc style=display:none></textarea><textarea id=csi style=display:none></textarea><textarea id=hcache style=display:none></textarea><span id=main><div id=ghead><div id=gbar><nobr><b class=gb1>La Web</b> <a href="http://images.google.es/imghp?hl=es&tab=wi" onclick=gbar.qs(this) class=gb1>Imágenes</a> <a href="http://video.google.es/?hl=es&tab=wv" onclick=gbar.qs(this) class=gb1>Vídeos</a> <a href="http://maps.google.es/maps?hl=es&tab=wl" onclick=gbar.qs(this) class=gb1>Maps</a> <a href="http://news.google.es/nwshp?hl=es&tab=wn" onclick=gbar.qs(this) class=gb1>Noticias</a> <a href="http://books.google.es/bkshp?hl=es&tab=wp" onclick=gbar.qs(this) class=gb1>Libros</a> <a href="http://mail.google.com/mail/?hl=es&tab=wm" class=gb1>Gmail</a> <a href="http://www.google.es/intl/es/options/" onclick="this.blur();gbar.tg(event);return !1" aria-haspopup=true class=gb3><u>Más</u> <small>▼</small></a><div class=gbm id=gbi><a href="http://translate.google.es/?hl=es&tab=wT" onclick=gbar.qs(this) class=gb2>Traductor</a> <a href="http://blogsearch.google.es/?hl=es&tab=wb" onclick=gbar.qs(this) class=gb2>Blogs</a> <div class=gb2><div class=gbd></div></div><a href="http://www.youtube.com/?hl=es&tab=w1&gl=ES" onclick=gbar.qs(this) class=gb2>YouTube</a> <a href="http://www.google.com/calendar/render?hl=es&tab=wc" class=gb2>Calendar</a> <a href="http://picasaweb.google.es/home?hl=es&tab=wq" onclick=gbar.qs(this) class=gb2>Fotos</a> <a href="http://docs.google.com/?hl=es&tab=wo" class=gb2>Docs</a> <a href="http://www.google.es/reader/view/?hl=es&tab=wy" class=gb2>Reader</a> <a href="http://sites.google.com/?hl=es&tab=w3" class=gb2>Sites</a> <a href="http://groups.google.es/grphp?hl=es&tab=wg" onclick=gbar.qs(this) class=gb2>Grupos</a> <div class=gb2><div class=gbd></div></div><a href="http://www.google.es/intl/es/options/" class=gb2>todavía más &raquo;</a> </div></nobr></div><div id=guser width=100%><nobr><b>Iker.s.sanmillan@gmail.com</b> | <a href="/url?sa=p&pref=ig&pval=3&q=http://www.google.es/ig%3Fhl%3Des%26source%3Diglk&usg=AFQjCNEu3j43NXQz6AYyJgZsU9kPohx5Lw" class=gb4>iGoogle</a> | <a href="/preferences?hl=es" onclick="this.blur();gbar.tg(event);return !1" aria-haspopup=true aria-owns=gbg class=gb3><u>Configuración</u> <small>▼</small></a>| <a href="/accounts/ClearSID?continue=http://www.google.com/accounts/Logout%3Fcontinue%3Dhttp://www.google.es/" class=gb4>Salir</a><div class=gbm id=gbg><a href="/preferences?hl=es" class=gb2>Configuración de búsqueda</a> <a href="https://www.google.com/accounts/ManageAccount?hl=es" class=gb2>Configuración de cuenta de Google</a> </div></nobr></div><div class=gbh style=left:0></div><div class=gbh style=right:0></div></div> <center><span id=body><center><br clear=all id=lgpd><div align=left style="background:url(/intl/en_com/images/logo_plain.png) no-repeat;height:110px;width:276px" title="Google" id=logo onload="window.lol&&lol()"><div nowrap style="color:#666;font-size:16px;font-weight:bold;left:208px;position:relative;top:78px">Espa&ntilde;a</div></div><br><form action="/search" name=f onsubmit="google.fade=null"><table cellpadding=0 cellspacing=0><tr valign=top><td width=25%>&nbsp;</td><td align=center nowrap><input name=hl type=hidden value=es><input name=source type=hidden value=hp><input autocomplete="off" onblur="google&&google.fade&&google.fade()" maxlength=2048 name=q size=55 class=lst title="Buscar con Google" value=""><br><input name=btnG type=submit value="Buscar con Google" class=lsb onclick="this.checked=1"><input name=btnI type=submit value="Voy a tener suerte" class=lsb onclick="this.checked=1"></td><td nowrap width=25% align=left id=sbl><font size=-2>&nbsp;&nbsp;<a href=/advanced_search?hl=es>Búsqueda avanzada</a><br>&nbsp;&nbsp;<a href=/language_tools?hl=es>Herramientas del idioma</a></font></td></tr><tr><td align=center colspan=3><font size=-1><span style="text-align:left" class=fade>Buscar en: <input id=all type=radio name=meta value="" checked><label for=all> la Web </label> <input id=lgr type=radio name=meta value="lr=lang_es"><label for=lgr> páginas en español </label> <input id=cty type=radio name=meta value="cr=countryES"><label for=cty> páginas de Espa&ntilde;a </label> </span></font></td></tr></table></form><br><font size=-1>Google.es ofrecido en: <a href="http://www.google.es/setprefs?sig=0_JtuonykxZplmG5DC0Fnm03YJVhA=&hl=ca">català</a>  <a href="http://www.google.es/setprefs?sig=0_JtuonykxZplmG5DC0Fnm03YJVhA=&hl=gl">galego</a>  <a href="http://www.google.es/setprefs?sig=0_JtuonykxZplmG5DC0Fnm03YJVhA=&hl=eu">euskara</a> </font><br><br></center></span> <span id=footer><center id=fctr><br><font size=-1><a href="/intl/es/ads/">Programas de publicidad</a> - <a href="/services/">Soluciones Empresariales</a> - <a href="/intl/es/about.html">Todo acerca de Google</a> - <a href="http://www.google.com/ncr">Google.com in English</a></font><p><font size=-2>&copy;2009 - <a href="/intl/es/privacy.html">Privacidad</a></font></p></center></span> </span> <script>function _gjp() {!(location.hash && _gjuc()) && setTimeout(_gjp, 500);}google.j[1]={cc:[],co:['ghead','body','footer','xjsi'],pc:[],nb:0,css:document.getElementsByTagName('style')[0].innerHTML,main:'<div id=ghead></div><span id=body></span><span id=footer></span><span id=xjsi></span>'};</script><script>function wgjp(){var xjs=document.createElement('script');xjs.src='/extern_chrome/a84b2b1e60464249.js';(document.getElementById('xjsd') || document.body).appendChild(xjs)};</script><div id=xjsd></div><div id=xjsi><script>if(google.y)google.y.first=[];if(google.y)google.y.first=[];if(!google.xjs){google.dstr=[];google.rein=[];window.setTimeout(function(){var a=document.createElement("script");a.src="/extern_js/f/CgJlcxICZXMrMAo4QUAdLCswDjgKLCswFjgULCswFzgELCswGDgELCswGTgNLCswHTgbLCswITgrQAEsKzAlOMmIASwrMCY4CCwrMCc4AiwrMCo4AiwrMCs4CSwrMDw4ASwrMEU4ACw/pgymIcjvtMQ.js";(document.getElementById("xjsd")||document.body).appendChild(a);if(google.timers&&google.timers.load.t)google.timers.load.t.xjsls=(new Date).getTime();},0);
google.xjs=1};google.y.first.push(function(){google.ac.b=true;google.ac.i(document.f,document.f.q,'','');(function(){
var a=window.google.f={};a.f=1;a.s=1;a.a=(new Date).getTime();google.rein.push(function(){a.f=1;a.s=1;a.a=(new Date).getTime()});google.dstr.push(function(){google.fade=null});function m(b,g,e,f){var d,c=[],i=[];for(var h=0,k;k=b[h++];){var l=document.getElementById(k);if(l)c.push(l)}for(var h=0,j;j=g[h++];){var o=n(j[0],j[1]);while(d=o.pop())c.push(d)}while(d=c.pop())i.push([d,"opacity",e,f,0,""]);return i}function n(b,
g){var e=[];for(var f=document.getElementsByTagName(b),d=0,c=f[d];c=f[d++];)if(c.className==g)e.push(c);return e}google.fade=function(b){b=b||window.event;var g=1;if(b&&b.type=="mousemove"){var e=b.clientX,f=b.clientY;g=a.x||a.y?Math.abs(a.x-e)+Math.abs(a.y-f):0;a.x=e;a.y=f}var d=(new Date).getTime(),c=d-a.a;if(google.fx&&g&&c>602)if(a.f){a.f=0;var i=["fctr","ghead",
"pmocntr","sbl","tba","tbe"],h=[["span","fade"],["div","gbh"]];google.fx.animate(602,m(i,h,0,1))}};
})();
});if(google.j&&google.j.en&&google.j.xi){window.setTimeout(google.j.xi,0);google.fade=null;}</script></div><script>(function(){
function a(){google.timers.load.t.ol=(new Date).getTime();google.report&&google.timers.load.t.xjs&&google.report(google.timers.load,google.kCSI)}if(window.addEventListener)window.addEventListener("load",a,false);else if(window.attachEvent)window.attachEvent("onload",a);google.timers.load.t.prt=(new Date).getTime();
})();

</script>

Aslansh escribió:

jefe no tengo acceso a internet a full mira ver si puedes copiar el codigo

A ver. ¿Qué código? ¿En morse, C, C++, Bash, Perl, Python, JavaScript, JAVA, LOGO, REXX, HOYGAN,...? ¿En que formato está la fecha, en ISO, formato USA, en cuál? Pon un ejemplo.

Quizás puedas acceder a http://www.rincondelvago.com/

es en php la fecha por ejemplo es 2009-12-3 me hace falta un codigo para podeer sacar el dia y el mes

Aslansh escribió:

es en php la fecha por ejemplo es 2009-12-3 me hace falta un codigo para podeer sacar el dia y el mes

Y lo que tú has intentado es ......................................................... (rellena la línea de puntos)

Aviso Aprende a hacer preguntas en los foros

Aviso Aporta toda la información que puedas sobre tu problema

Otra cosa, quita el "ayuda" del título, no es descriptivo del problema

Aviso Escribe un titulo descriptivo

Ya se que no hice la pregubnta adecuada disculpen pero lo que quiero es un codigo que me fasiliten un codigo por el cual pueda sacar el dia y mes de una fecha dada por ejemplo 2009-12-3. disculpenme pero es que no tengo internet y a las pocas paginas que puedo acceder esta está y no puedo instruirme bien. porrfavor ayudenme

Aslansh escribió:

Ya se que no hice la pregubnta adecuada disculpen pero lo que quiero es un codigo que me fasiliten un codigo por el cual pueda sacar el dia y mes de una fecha dada por ejemplo 2009-12-3. disculpenme pero es que no tengo internet y a las pocas paginas que puedo acceder esta está y no puedo instruirme bien. porrfavor ayudenme

ya... el tema es que cualquiera podría decirte "vale, quinientos euros y te hago un código que lo flipas" ¿Entiendes?
Búscate un libro sobre php o algo, un manual, inténtalo por tí mismo y luego vuelves con dudas concretas. Esto lo voy a cerrar