This topic is locked

Long Date

6/9/2007 8:40:10 AM
ASPRunnerPro General questions
P
Philip author

Hi
I found 2 problems with long date (V 4.1 / 225 and V 5):
a) when I have multi-language in project settings user can choose a language; the day name is allways shown in the set language of Regional settings

<img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=5468&image=1&table=forumtopics' class='bbc_emoticon' alt='B)' /> when I change in list.asp to short date format it automatically does the same for the view.asp; how can I have different settings (f.e. short in list and long in view) ?
Philip

Sergey Kornilov admin 6/10/2007

First issue is hard to understand. Please rephrase.
To separate date format on List/View pages create field alias in SQL query and set different format for those two fields.
select ...

DateField,

DateField as DateField1,

...
After that you can make DateField to appear on the List page only while DateField1 should appear on the View page only.

P
Philip author 6/10/2007

First issue is hard to understand. Please rephrase.


when user chooses f.e. language as english long date should be Saturday, 9.6.2007; in fact the date shows up in german (Samstag, 9.6.2007). I guess that ASPRunner uses the language of regional settings instead of the picked language.
The workaround you propose for the other issue will work but still: why can't we have separate settings for list, view etc.? It seems to be a bit complicated to set for each purpose a different field.

Sergey Kornilov admin 6/11/2007

Language and regional settings are not related. Dates are always displayed according to the selected regional settings.