Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Variables tipo Date
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
BlackLion  
View profile   Translate to Translated (View Original)
 More options Apr 23 2012, 8:26 am
From: BlackLion <omar.fari...@gmail.com>
Date: Mon, 23 Apr 2012 05:26:07 -0700 (PDT)
Local: Mon, Apr 23 2012 8:26 am
Subject: Variables tipo Date

Hola chicos saben si hay alguna posibilidad de incrementar una variable
"dia = datetime.date(yyyy,mm,dd)" día por día y que cuando llegue al final
de mes o el año cambie todo automáticamente, ejemplo si dia = 2012-12-31,
se incrementa en 1 dia y quede dia = 2013-01-01


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Javier Pepe  
View profile   Translate to Translated (View Original)
 More options Apr 23 2012, 10:26 am
From: Javier Pepe <javierp...@gmail.com>
Date: Mon, 23 Apr 2012 11:26:30 -0300
Local: Mon, Apr 23 2012 10:26 am
Subject: Re: Variables tipo Date

Hola

Podes sumar con timedelta

import datetime

dia = dia + datetime.timedelta(1)

2012/4/23 BlackLion <omar.fari...@gmail.com>


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Omar Fariñez  
View profile   Translate to Translated (View Original)
 More options Apr 23 2012, 10:40 am
From: Omar Fariñez <omar.fari...@gmail.com>
Date: Mon, 23 Apr 2012 10:40:06 -0400
Local: Mon, Apr 23 2012 10:40 am
Subject: Re: Variables tipo Date

ok amigo muchas gracias
Sds

El 23 de abril de 2012 10:26, Javier Pepe <javierp...@gmail.com> escribió:

--
Siempre que quieres avanzar en tu camino encontraras envidiosos que
tratarán de ponerse en medio, por eso es bueno ir en tren
Omar Fariñez

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »