Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to read Device Serial Number & take Current date attendance log file #2

Open
ksarulmozhi opened this issue Nov 17, 2021 · 0 comments

Comments

@ksarulmozhi
Copy link

ksarulmozhi commented Nov 17, 2021

1 . When i read data from device it take 5 mins to receival data, windows 11 OS

  1. I need help how to read device serial number.

  2. how to take log between date.

i using from from and to date using code.

DateFormat dateFormat = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss");

	Date fromdate = new SimpleDateFormat("dd/MM/yyyy HH:mm:ss").parse("16/11/2021 00:00:00");
	Date todate = new SimpleDateFormat("dd/MM/yyyy HH:mm:ss").parse("20/11/2021 22:59:59");
	Long fd=fromdate.getTime();
	Long td=todate.getTime();
	

	AttendanceRecordsStatement stmt2 = aTerminal.readAttendanceRecordsFrom(fd, td);

Please help.
Thank you.

@ksarulmozhi ksarulmozhi changed the title How to read Device Serial No & take only current date logs How to read Device Serial Number & take Current date attendance log file Nov 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant