Re: [Ovillo] mostrar fecha de mes siguiente

2007-12-14 Por tema Tei
On Dec 13, 2007 5:50 PM, osvaldo Contreras <[EMAIL PROTECTED]> wrote:
>
>
> > hola amigos de ovillo  necesito saber como poder poner la fecha del me
> > siguiente en un documento es decir
> >
> > por ejemplo:  la fecha de hoy 13/12/2008
> > y colocar mas abajo
> > pagar en  13/01/208
> >
> > me dijeron que esto servia , pero no lo entiendo  :(
>
> >  > $manana= mktime(0, 0, 0, date("m")  , date("d")+1, date("Y"));
> > $ultimo_mes = mktime(0, 0, 0, date("m")-1, date("d"),   date("Y"));
> > $siguiente_anyo = mktime(0, 0, 0, date("m"),   date("d"),   date("Y")+1);
> > ?>
> >

No basta con tener una mente prodigiosa capaz de memorizar los
apuntes, llegar al examen y bordarlo con un 10.
Hay que pensar. Hay que ser creativo, y hay que ser capaz, de
"buscarse uno la vida"[tm].

El que texto que pongo a continuacion, es una descripcion del modo de
trabajar de muchos indios. Sirve de radiografia de cierto modo de
trabajar.. que no puede generar calidad. Y que tu mensaje me lo
recuerda.

Y por cierto, buscate una lista de correo PHP para tus dudas de PHP.

<
I am an Indian living in India. I have been coding/programming
professionally for 8 years now. The stereotype may be that (a
stereotype) but I have worked with other Indian programmers, and I
know from experience:

1. They will not refer documentation. Ever. They wont even search google.

2. They maintain a list of 'code websites' where examples and
explanations of "How do do X in language Y" are put up by people
hoping to educate someone else. e.g. codeproject

3. They will go to each site searching for what they want at the
moment. If they don't find what they need, they hit google. To search
for message boards.

4. google search: sms in java forum

5. Finding a post that already requests a similar "sample
code"/"example"/"detailed explanation" they will add a me too post.

6. Whenever I turned up solutions from either experience or knowledge
of the api/platforms, without asking 10 people or copying and pasting
sample code, I have been asked "where have you done this before?" "was
this your degree project?"

"I just searched through some of the documentation!" is not an
acceptable answer.

When I was not so senior one of my managers went to the extent of
looking through my browser history in disbelief.

7. They have amazing skills like memorizing entire functions that are
used more frequently such as general purpose functions. One of the
girls I worked with would type out the whole thing including commented
out debugging code.

8. When I was leading a project, one of the teams was 2 days late on a
delivery. The excuse offered was "we could not access [unrelated
earlier completed project] files
> for 2 days and so could not start working on this on time". I refused to 
> accept that, so it was taken up by my manager, who found it perfectly 
> acceptable. It was explained to me: "common files such as db access functions 
> and template handling routines could not be copied over from the earlier 
> project so it is understandable that the module was delayed" .
>>
___
Lista de distribución Ovillo
Para escribir a la lista, envia un correo a Ovillo@lists.ovillo.org
Puedes modificar tus datos o desuscribirte en la siguiente dirección: 
http://lists.ovillo.org/mailman/listinfo/ovillo


Re: [Ovillo] mostrar fecha de mes siguiente

2007-12-13 Por tema osvaldo Contreras


> hola amigos de ovillo  necesito saber como poder poner la fecha del me 
> siguiente en un documento es decir
> 
> por ejemplo:  la fecha de hoy 13/12/2008
> y colocar mas abajo
> pagar en  13/01/208
> 
> me dijeron que esto servia , pero no lo entiendo  :(

>  $manana= mktime(0, 0, 0, date("m")  , date("d")+1, date("Y"));
> $ultimo_mes = mktime(0, 0, 0, date("m")-1, date("d"),   date("Y"));
> $siguiente_anyo = mktime(0, 0, 0, date("m"),   date("d"),   date("Y")+1);
> ?> 
>
___
Lista de distribución Ovillo
Para escribir a la lista, envia un correo a Ovillo@lists.ovillo.org
Puedes modificar tus datos o desuscribirte en la siguiente dirección: 
http://lists.ovillo.org/mailman/listinfo/ovillo


Re: [Ovillo] mostrar fecha de mes siguiente

2007-12-13 Por tema carlos campderrós
On Dec 13, 2007 5:42 PM, osvaldo Contreras <[EMAIL PROTECTED]>
wrote:

> hola amigos de ovillo  necesito saber como poder poner la fecha del me
> siguiente en un documento es decir
>
>  por ejemplo:  la fecha de hoy 13/12/2008
>  y colocar mas abajo
> pagar en  13/01/208
>
> me dijeron que esto servia , pero no l o entiendo  :(
>  $manana= mktime(0, 0, 0, date("m")  , date("d")+1, date("Y"));
> $ultimo_mes = mktime(0, 0, 0, date("m")-1, date("d"),   date("Y"));
> $siguiente_anyo = mktime(0, 0, 0, date("m"),   date("d"),   date("Y")+1);
> ?>
>

http://php.net/mktime
http://php.net/date

-- 
Si no puedes deslumbrar con tu sabiduría,
desconcierta con tus gilipolleces
___
Lista de distribución Ovillo
Para escribir a la lista, envia un correo a Ovillo@lists.ovillo.org
Puedes modificar tus datos o desuscribirte en la siguiente dirección: 
http://lists.ovillo.org/mailman/listinfo/ovillo


Re: [Ovillo] mostrar fecha de mes siguiente

2007-12-13 Por tema osvaldo Contreras
hola amigos de ovillo  necesito saber como poder poner la fecha del me 
siguiente en un documento es decir

 por ejemplo:  la fecha de hoy 13/12/2008
 y colocar mas abajo
pagar en  13/01/208

me dijeron que esto servia , pero no l o entiendo  :(
 

___
Lista de distribución Ovillo
Para escribir a la lista, envia un correo a Ovillo@lists.ovillo.org
Puedes modificar tus datos o desuscribirte en la siguiente dirección: 
http://lists.ovillo.org/mailman/listinfo/ovillo