Webmastersite.net
Register Log In

date format

Comments on date format

babrees
Expert

Usergroup: Customer
Joined: Aug 19, 2005
Location: England

Total Topics: 391
Total Comments: 1303
babrees
Posted Mar 09, 2006 - 7:40 AM:

I want a new field that will be a date. I need the input to be in English style (day/month/yr) and then to be able to sort into that date order.

As there is no date format and it will just be text, is this possible?
mrowton
Forum Regular

Usergroup: Customer
Joined: Feb 19, 2004
Location: Michigan

Total Topics: 57
Total Comments: 185
mrowton
Posted Mar 09, 2006 - 1:18 PM:

Under Setttings>General there is a date format area

I *think you can change it to %D to get what you are wanting, then you could use the default sort links option of date added and edited.

If you really want to make a new text field to enter a date then I don't think it would sort properly as the year would be at the end of the string.
Jenny
Forum Regular

Usergroup: Customer
Joined: May 11, 2003

Total Topics: 64
Total Comments: 199
Jenny
Posted Mar 09, 2006 - 3:44 PM:

I have a directory where I am sorting my links by a specific date. To make it work properly I have the date in this format: yyyy-mm-dd
works fine.
babrees
Expert

Usergroup: Customer
Joined: Aug 19, 2005
Location: England

Total Topics: 391
Total Comments: 1303
babrees
Posted Mar 09, 2006 - 10:15 PM:

Thanks mrowton - I have the settings in English format but it is a new field I want to sort.

Thanks Jenny - I actually have folders and files on my computer named in that manner so they sort but never thought to use it here! I hoped perhaps we could have a date format in the add fields
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.