search for: exp_dat

Displaying 4 results from an estimated 4 matches for "exp_dat".

Did you mean: ex_dat
2006 Jun 08
2
how to add plugin to ActiveRecord
I''m trying to set a date field''s day to the last day of the month before I save it. I can do this successfully now using this code: class Account < ActiveRecord::Base def before_save self.exp_date = last_day_of_month(self.exp_date) end # Returns a Date object set to the last day of the current month def last_day_of_month(date = Date.today) next_month_str = date.year.to_s + ''-'' + (date.month + 1).to_s + ''-01'' Date.parse(next_month_str)...
2017 Feb 09
1
Users list and the date the password will expire
On 02/09/2017 11:25 AM, Ole Traupe via samba wrote: > Exactly, and got reminded that I don't have to grep anything but can ask > for specific parameters. Been a while that I used ldbsearch. ;) > So there will be an updated version of your script? :-) Your script is something we could use as well, appreciated! MJ
2017 Feb 08
3
Users list and the date the password will expire
On Wed, 8 Feb 2017 18:32:15 +0100 Ole Traupe via samba <samba at lists.samba.org> wrote: > That was weird: didn't see (expect) there to be a discussion right on > the same topic going on at this very moment. > > Ole > > > On 08.02.2017 17:37, Ole Traupe via samba wrote: > > Hi list, > > > > long time no see! :) > > > > I was looking
2005 Aug 08
5
In-Line List Editing with AJAX
...ytype)}-info'');") %> <input name="policy_active" type="checkbox" /> <input name="policy_id" type="hidden" value="<%= policy.id %>" /> <%= policy.policytype %> expires <%= select_date policy.exp_date %> <%= submit_tag "Update" %> <a href="javascript:Element.toggle(''insurance-<%= fmt_policy_id(policy.policytype) %>-info'', ''insurance-<%= fmt_policy_id(policy.policytype) %>-edit'');">cancel</a> <%...