DCGET to capture schedule data

This forum is for eXpress++ general support.
Post Reply
Message
Author
Diego Euri Almanzar
Posts: 25
Joined: Thu Nov 05, 2020 10:51 am
Location: DOMINICAN REPUBLIC

DCGET to capture schedule data

#1 Post by Diego Euri Almanzar »

I am developing an employee roster, where the work schedule for each employee may vary. Therefore, I must capture with DCGET, the time of entry and the time of departure. Does the Express library have an example or function to capture data related to time?

Best regards.

User avatar
rdonnay
Site Admin
Posts: 4340
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: DCGET to capture schedule data

#2 Post by rdonnay »

That is a vague question.

Please be more precise about what you are looking for.
The eXpress train is coming - and it has more cars.

User avatar
Tom
Posts: 873
Joined: Thu Jan 28, 2010 12:59 am
Location: Berlin, Germany

Re: DCGET to capture schedule data

#3 Post by Tom »

I guess Diego is looking for a picture/validate for gets to enter a time, accepting numbers and maybe a double point ("99:99"), but checking if the entered number is a correct time (15:59 is, 15:79 is not). @Diego, this is simple inside a validation function.
Best regards,
Tom

"Did I offend you?"
"No."
"Okay, give me a second chance."

User avatar
rdonnay
Site Admin
Posts: 4340
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: DCGET to capture schedule data

#4 Post by rdonnay »

Look at the functions DC_PopDate() and DC_PopTime().
The eXpress train is coming - and it has more cars.

Post Reply