Page 1 of 1

How to separate am and pm time

Posted: Wed Mar 15, 2017 3:36 pm
by snizer20

Hi! i'm also a newbie and i'm using phpmaker2017
i have Biometrics Ms Access database , how to separate the am/pm time record because they are in one field, and i want them to split to make an In and Out field. Thankyou


Re: How to separate am and pm time

Posted: Wed Mar 15, 2017 4:22 pm
by mobhar

Just alter the table to add those two new fields, and then use UPDATE statement to update the value for those fields based on the last two character from the original field.


Re: How to separate am and pm time

Posted: Tue Mar 21, 2017 10:01 pm
by snizer20

i'm currently making an attendance monitoring system using biometrics and i have "Clock" field from the biometrics database that contains "Date and Time" records and i already separate the Date to another field and my problems is how to separate the AM time and PM time also to another field, because in view tag the only available format is "Time(AM/PM)" only ..

Thankyou.


Re: How to separate am and pm time

Posted: Wed Mar 22, 2017 9:20 am
by mobhar

Please post your data sample for more discussion.