Ver Mensaje Individual
  #4 (permalink)  
Antiguo 10/11/2005, 17:57
Avatar de JuanRAPerez
JuanRAPerez
Colaborador
 
Fecha de Ingreso: octubre-2003
Mensajes: 2.393
Antigüedad: 21 años, 6 meses
Puntos: 27
Lei esto por aqui.

Cita:
Visual Basic Scripting Edition

DatePart Function
Returns the specified part of a given date.

DatePart(interval, date[, firstdayofweek[, firstweekofyear]])
Arguments
interval
Required. String expression that is the interval of time you want to return. See Settings section for values.
date
Required. Date expression you want to evaluate.
firstdayof week
Optional. Constant that specifies the day of the week. If not specified, Sunday is assumed. See Settings section for values.
firstweekofyear
Optional. Constant that specifies the first week of the year. If not specified, the first week is assumed to be the week in which January 1 occurs. See Settings section for values.
Settings

http://msdn.microsoft.com/library/de...ctdatepart.asp
__________________
JuanRa Pérez
San Salvador, El Salvador