Foros Club Delphi

Foros Club Delphi (https://www.clubdelphi.com/foros/index.php)
-   OOP (https://www.clubdelphi.com/foros/forumdisplay.php?f=5)
-   -   Regresar el numero de semana (https://www.clubdelphi.com/foros/showthread.php?t=37965)

zvf 28-11-2006 02:51:39

Regresar el numero de semana
 
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!! :)


La franja horaria es GMT +2. Ahora son las 17:38:49.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Traducción al castellano por el equipo de moderadores del Club Delphi