Does anybody know if there's a way to set the To Date to always be the current date? So, whenever that field is viewed, it would show the current date of the person viewing, not the date the field was populated.

An example would be using date ranges, say the start and end date of a meteorological station or a restaurant. The end date in many cases should signify "currently still operating."

I'm not even sure if this is possible with Drupal. Thanks.

Comments

karens’s picture

Category: support » feature

Someone else brought this up recently with a use case of wanting an item to show something like '1/2/2008-current' in a resume. There is probably no easy way to do this now except with a form_alter, which would probably be messy, so this would be a feature request.

diodata’s picture

Yep, that's another example I was thinking of, using dates on our staff profile pages. Thanks for the info. I'll submit a feature request.

OK. I see you already changed this ticket to a feature request. Thanks.

drewish’s picture

initially i thought it was a bug report... i've got to dates that are always set to the current date... guess i'll keep looking.

ndm’s picture

I must use this function too. I subscribe for this feature. Good idea.

NathanM’s picture

Subscribing. Would also like it to be able to show "Current", "Now", or "Present", rather than simply having the date constantly update itself. Other use case scenarios could include availability date fields, for contract workers, bands, etc. They could list their dates they are available as "Now until xxx".

LTech’s picture

Is there a way to do this now? Show 'current' or 'present'? I'm using drupal 7.

arlinsandbulte’s picture

Version: 6.x-2.x-dev » 7.x-2.x-dev
Status: Active » Closed (duplicate)

Bumping feature requests to D7.x
Also, this is a duplicate of an existing feature request.
#1240526: Allow value 'present' in the to field