Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Aug 2002
    Posts
    66
    Thanks
    2
    Thanked 0 Times in 0 Posts

    help with time cards..

    Hi there,

    I'm just making a small script for work and just would like to ask you guys how you would create this?

    At my work, you get 25% (of base pay) shift penalties for the time between 6pm - 8pm. But then you get 50% for the time between 8pm - 10pm.

    Basically, i need to have a script where a user puts in the hours worked in a day (say 2pm - 10pm ).. and have the script tell us how many hours worked at ordinary, how many at 25% and how many at 50%.

    I have a pretty general understanding of PHP, but just am having trouble thinkin on how to work this..

    Any help would be great

    James

  • #2
    New Coder
    Join Date
    Aug 2002
    Posts
    66
    Thanks
    2
    Thanked 0 Times in 0 Posts
    anybody?


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •