Set Business day

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,


I have a text I called txtdate which is the system date or date today.How
can I set the txtdate.text=8/29/04 even if the date today is equal to
8/30/04.Our business hours starts from 8am till 2am so if our business opens
on 8/29/04 all transaction made past 12 midnight till 2am should be dated as
8/29/04.How can I set my txtdate.text rollover only after 2am?
 
Mel,

You need some code, however look at things as AddDays

In VBNet
dim mydate as DateTime = Now.AddDays(2)

I hope this helps?

Cor
 
Back
Top