PDA

Ver la Versión Completa : Regresar el numero de semana


zvf
28-11-2006, 02:51:39
Holaa!!!

Una pregunta...

Hay algun componente o funcion que regrese el número de semana en delphi?

Es decir, al momento en que yo le de un dia, me diga a que numero de semana pertenece.

GRACIAS!!

egostar
28-11-2006, 02:59:01
WeekOf Routine Returns the week of the year represented by a TDateTime value.

Unit

DateUtils

Function Weekof(const AValue:TDateTime):Word;

Call WeekOf to obtain the week of the year represented by a specified TDateTime value. WeekOf returns a value between 1 and 53.

Saludos

zvf
28-11-2006, 19:35:29
Gracias Por Tu Atencion Y Tu Ayuda!! :)