cobisja / tad-php

PHP Library for ZK Time & Attendance Devices
MIT License
217 stars 160 forks source link

Custume log calculation #12

Closed dennist12 closed 8 years ago

dennist12 commented 8 years ago

How i can calculate the logs . i use foreach any idea?

cobisja commented 8 years ago

My fiend,

I really don't understand what you asking for. Can you describe exactly what you want to do?

Best regards,

Cobis El 07/04/2016 08:15, "dennist12" notifications@github.com escribió:

How i can calculate the logs . i use foreach any idea?

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/cobisja/tad-php/issues/12

dennist12 commented 8 years ago

[image: image.png] how get the time interval of every logs? 21:21:16 and 21:23:52 - 2 mins and so on. On Thu, Apr 7, 2016 at 11:30 PM Cobis notifications@github.com wrote:

My fiend,

I really don't understand what you asking for. Can you describe exactly what you want to do?

Best regards,

Cobis El 07/04/2016 08:15, "dennist12" notifications@github.com escribió:

How i can calculate the logs . i use foreach any idea?

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/cobisja/tad-php/issues/12

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/cobisja/tad-php/issues/12#issuecomment-206953749

cobisja commented 8 years ago

Hi my friend,

Well what you're asking for cannot be done through TAD-PHP. However, if you want to do some dates calculations taking the timestamp returned by TAD I suggest to use an excellent library called Carbon ( https://github.com/briannesbitt/Carbon). This library is intended to deal with all dates calculations you might need offering you a lot of very useful methods.

Best regards,

Cobis [image: image.png] how get the time interval of every logs? 21:21:16 and 21:23:52 - 2 mins and so on. On Thu, Apr 7, 2016 at 11:30 PM Cobis notifications@github.com wrote:

My fiend,

I really don't understand what you asking for. Can you describe exactly what you want to do?

Best regards,

Cobis El 07/04/2016 08:15, "dennist12" notifications@github.com escribió:

How i can calculate the logs . i use foreach any idea?

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/cobisja/tad-php/issues/12

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/cobisja/tad-php/issues/12#issuecomment-206953749

— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/cobisja/tad-php/issues/12#issuecomment-207092831