View previous topic :: View next topic |
Author |
Message |
kaffesump -
Joined: 25 Mar 2003 Posts: 1
|
Posted: Wed Jul 09, 2008 10:30 pm Post subject: Now() Format |
|
|
When using the now()-function I get the wrong format because of geographical settings. When using vbShortDate as format-type for example (with formatDateTime) I get m/d/YYYY instead of YYYY-MM-DD as I want (since I am in Sweden).
Any suggestions are very welcome! :) |
|
Back to top |
|
|
techkarthiks -
Joined: 25 Apr 2009 Posts: 1
|
Posted: Sat Apr 25, 2009 12:05 pm Post subject: |
|
|
use
Code: |
<%=year(now)&"-"&month(now)&"="&day(now)%>
|
Mods Note-
Please use the signature option in your profile settings.
Moxxnixx |
|
Back to top |
|
|
|