Jump to content

Search the Community

Showing results for tags 'datefield'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • Welcome to ProcessWire
    • News & Announcements
    • Showcase
    • Wishlist & Roadmap
  • Community Support
    • Getting Started
    • Tutorials
    • FAQs
    • General Support
    • API & Templates
    • Modules/Plugins
    • Themes and Profiles
    • Multi-Language Support
    • Security
    • Jobs
  • Off Topic
    • Pub
    • Dev Talk

Product Groups

  • Form Builder
  • ProFields
  • ProCache
  • ProMailer
  • Login Register Pro
  • ProDrafts
  • ListerPro
  • ProDevTools
  • Likes
  • Custom Development


There are no results to display.

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start





Website URL







Found 3 results

  1. It's been too long. Finally got to get back to PW after wading in some MODX development for a while. Anyhow, I am a bit stumped on something. I have incorporated a date field and for some reason it converts back to 12/31/1969 after saving the page. When I add a date picker to the field, it does not even offer the current year. It offers a few years from the 70's which I hear were good years, but wont help me here. I have tried multiple configurations in the settings but ultimately end up with the same value. echoing out the date("m/d/Y") prints the correct date time zone is set in both my config file and php.ini php.ini - date.timezone = America/New_York config - $config->timezone = 'America/New_York'; pw version - 2.7.2 Thanks for any suggestions and its good to be back working with pw.
  2. Hi all, I have some pages with a custom datefield who stores the birth of the person. I want to show a list with the birthdays of the current month but i don't now how to get all the pages that match the condition. I know that this doesn't work but it reflex what i'm trying to achieve: $today = getdate(); $currentmonth = $today[month]; //november $people = $pages->get("/people/")->find("birthday~=$currentmonth"); //voila i get all the people who born on november! birthday is an custom datefield... Anybody could spare me a tip? Thanks!
  3. Not sure whether this is a known bug or something else is causing the problem. Basically my custom date field is being wiped when I resave the page. So on first adding the date and saving all is well, or if the date is added last thing before clicking save then no problems but otherwise the datefield just empties. I am also using the datepicker (not sure if this has any bearing on it)
  • Create New...