Hi
does anybody know how to generate a time sheet?
like starts from 8:00 Am 8:15 AM 8:30 AM
Hi
does anybody know how to generate a time sheet?
like starts from 8:00 Am 8:15 AM 8:30 AM
How about using pencil and paper?
ha... pretty funny...
but thanks.. i will try another option
Well you kind of asked a silly question: "how to generate a time sheet?".
Are you asking what software people use? Are you asking if there's some Rails software that can do that? Are you asking about coding software to generate timesheets? Are you asking about generating documents? PDFs?
When asking on a list, its often better to BE SPECIFIC.
So what EXACTLY are you asking?
I am trying to generate a list which will start from 8:00 AM and goes upto 6:00 PM
e.g.
8:00 AM 8:15 AM 8:30 AM
def self.showtime() time_options = ['----'] step_val = 15
start_val = "#{Time.now.strftime('%d/%m/%Y')} 8:00".to_time(:local) end_val = "#{Time.now.strftime('%d/%m/%Y')} 18:00".to_time(:local)
start_val.step(end_val, step_val) do |val| time_options << val end @showtime = time_options end
i want output as follows:
8:00 AM 8:15 AM
I am trying to generate a list which will start from 8:00 AM and goes upto 6:00 PM
e.g.
8:00 AM 8:15 AM 8:30 AM - - - - - 6:00 PM
thats all.. using a for loop or do loop
Don't be such a dickhead. No one has time for that.
It was obvious what Ajit was asking for. This is a Ruby on Rails discussion group,. It goes without saying that he wants to generate a timesheet with Rails.
It was obvious what Ajit was asking for.
After he explained what he meant, yes.
This is a Ruby on Rails discussion group
And his question was a Ruby question.
Next time, you can keep your personal abusive remarks to yourself, thank you.