Hello, VladFein, you wrote: VF> I can print "28", OnUserString () receives a line "28:...", but it is then overwritten by the previous value. VF> http://files.rsdn.org/21374/DateTime.png VF> probably, it is necessary to enumerate at 4 o'clock tomorrow and SetTime (). VF> Or you want, what "28" would remain in control? There are no so much hours per days... VF> another Can approaches? What functionality is necessary? It is necessary, that 28 there was in control Another too approaches. Here User Stori: If the station is from 6am to 6am the next day and the user search for titles that are between 28:00:00; 00 and 29:00:00; 00 on March 28th, the result will be the title for which scheduled start time is between 4am and 5am on March 29th. , it is necessary to allow to enter 28:00:00; 00 and to be able to show it. ("28" should remain in control) Sushchestvuishchy is inherited from cdatetimectrl, but it is possible to replace with something another. COleDateTime, for example, or something similar.