• Resolved philbertdog

    (@philbertdog)


    I see that the date a record is updated can be automatically added to a record and displayed in the output, and the output can be sorted by that date.

    I’m creating an article database and would like to manually enter in to the record the date the article was written. Then I’d like to sort by those dates so that the newest articles appear first in the output.

    I’m guessing that this is possible but that the date would have to be formatted in some particular manner so that the software can recognize it accurately. Is this correct? And if so, how should I format the dates I enter manually so that I can sort by them?

    Thanks as always.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author xnau webdesign

    (@xnau)

    To sort records by a date, the date must be in a “date” type field. The is the “form element” setting in the field definition.

    Thread Starter philbertdog

    (@philbertdog)

    Aha, I get it now thanks. I don’t have to worry about formatting because if I get close your code formats it correctly for me. If I type something not like a data in a date field it gets discarded. And, once I get a valid date in that field I can sort by it. Excellent, just what I was looking for.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Sorting By Dates?’ is closed to new replies.