The date format to enter is whatever PHP can make sense of, which may depend on your language's locale set in the language file. For english I believe it looks for american dates, so if you type 1/5/2008 that means January, not May. But unless you like confusion it's better to write out the month name or the three letter abbreviation.
I'm having problems with thhis. It does not like it if I try to put, say, dec/25/2007 or similar using month name, I have to input 12/25/2007. No real hardship, but I need it to display the month because otherwise my visitors will be confused due to the American way of writing it when the rest of the site is in English. Is there any way I can force the display to show Dec/25/2007 ?
Also, if I edit the link I have to reinput the date otherwise it changes it to nonsensical.
As far as I know that's not a standard format in any country. You need to write in a conventional format, like December 25, 2007 or Dec 25, 2007 or 12/25/2007 or probably 12-25-2007 or 12-25-07 (haven't tested those last two).
Well I don't understand that, presumed it must've been because you were typing in the wrong format. Impossible to reproduce so I guess it'd require site inspection.
Paul wrote: Well I don't understand that, presumed it must've been because you were typing in the wrong format. Impossible to reproduce so I guess it'd require site inspection.
Well, I type the american format - mm/dd/yyyy. For instance if the date is 10/31/2007, when I go to edit it states 1193803200. If I don't input the date again it comes up with something totally different
I have sent you my log in details via support form
[edit] well I would've sent you details via the support form, but I just get a blank page at the moment. Will send to the last email addy that you wrote to me on.
Haven't had a chance to check your site yet, but that sounds like it has to be an old/bad template which is using the wrong template variables there on the edit page -- namely it's using {LINKEXPIRE} (unix timestamp) instead of {LINKEXPIREDATE} like the templates I distribute (at least lately, perhaps it was different in the distant past, I don't recall) have it.
hmm, I have no idea what I did on this one, just checked and you were correct, it was LINKEXPIRE
Weird thing is that I started fresh with templates from 4.1.3. I did move the field in the suggestlink/edit.tpl but lordy knows how I managed to change it!!! [sigh]
thanks Paul - it now shows correctly
0/5
1
2
3
4
5
This thread is closed, so you cannot post a reply.
Comments on expire date
Expert
Usergroup: Customer
Joined: Aug 19, 2005
Location: England
Total Topics: 391
Total Comments: 1303
Is there a way to display the expire date as the actual date? At the moment it shows as numbers. If not is there a "get around" I could possibly do?
Also... what is the correct date format to enter? I put in 31/10/07 and it changed it to 07/10/09
I also hope to use it in a toplist.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
According to scripts.webmastersite.net/w...les/link-variables-10.html , use {LINKEXPIREDATE}.
The date format to enter is whatever PHP can make sense of, which may depend on your language's locale set in the language file. For english I believe it looks for american dates, so if you type 1/5/2008 that means January, not May. But unless you like confusion it's better to write out the month name or the three letter abbreviation.
Expert
Usergroup: Customer
Joined: Aug 19, 2005
Location: England
Total Topics: 391
Total Comments: 1303
I'm having problems with thhis. It does not like it if I try to put, say, dec/25/2007 or similar using month name, I have to input 12/25/2007. No real hardship, but I need it to display the month because otherwise my visitors will be confused due to the American way of writing it when the rest of the site is in English. Is there any way I can force the display to show Dec/25/2007 ?
Also, if I edit the link I have to reinput the date otherwise it changes it to nonsensical.
http://www.freewebbargains.com/books/
Expert
Usergroup: Customer
Joined: Aug 19, 2005
Location: England
Total Topics: 391
Total Comments: 1303
Display problem solved.
But I have to reinput date everytime I edit
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
dec/25/2007
As far as I know that's not a standard format in any country. You need to write in a conventional format, like December 25, 2007 or Dec 25, 2007 or 12/25/2007 or probably 12-25-2007 or 12-25-07 (haven't tested those last two).
I need it to display the month
The display is unrelated to what you type in. You can pass a custom date format to any template variable as described here: scripts.webmastersite.net/w...stom-date-formats-323.html
Expert
Usergroup: Customer
Joined: Aug 19, 2005
Location: England
Total Topics: 391
Total Comments: 1303
Thanks Paul, but you didn't reply to the fact that I have to reinput the date if I ever edit the link.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Well I don't understand that, presumed it must've been because you were typing in the wrong format. Impossible to reproduce so I guess it'd require site inspection.
Expert
Usergroup: Customer
Joined: Aug 19, 2005
Location: England
Total Topics: 391
Total Comments: 1303
Well I don't understand that, presumed it must've been because you were typing in the wrong format. Impossible to reproduce so I guess it'd require site inspection.
Well, I type the american format - mm/dd/yyyy. For instance if the date is 10/31/2007, when I go to edit it states 1193803200. If I don't input the date again it comes up with something totally different
I have sent you my log in details via support form
[edit] well I would've sent you details via the support form, but I just get a blank page at the moment. Will send to the last email addy that you wrote to me on.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Haven't had a chance to check your site yet, but that sounds like it has to be an old/bad template which is using the wrong template variables there on the edit page -- namely it's using {LINKEXPIRE} (unix timestamp) instead of {LINKEXPIREDATE} like the templates I distribute (at least lately, perhaps it was different in the distant past, I don't recall) have it.
Expert
Usergroup: Customer
Joined: Aug 19, 2005
Location: England
Total Topics: 391
Total Comments: 1303
hmm, I have no idea what I did on this one, just checked and you were correct, it was LINKEXPIRE
Weird thing is that I started fresh with templates from 4.1.3. I did move the field in the suggestlink/edit.tpl but lordy knows how I managed to change it!!! [sigh]
thanks Paul - it now shows correctly