Author |
Topic  |
|
DualXeon
Starting Member
4 Posts |
Posted - 21 March 2006 : 18:03:09
|
I've implemented the OneWayMule Birthday MOD en it works fine.
The date formate from this MOD is "Mar 28". Is it possible to change that to "28 March". |
|
muzishun
Senior Member
   
United States
1079 Posts |
Posted - 21 March 2006 : 23:40:09
|
I don't have the MOD installed, but if you're just switching the date around, bobby's post is correct. You just need to have the day() function come before the monthname() function. |
Bill Parrott Senior Web Programmer, University of Kansas Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com) Personal Website (www.chimericdream.com) |
 |
|
bobby131313
Senior Member
   
USA
1163 Posts |
Posted - 22 March 2006 : 00:03:01
|
Sorry, I accidently deleted my previous post.
That does work. In inc_birthdays.asp change the 3 instances of...
monthName(Datepart("m",strBirthDate)) & " " & day(strBirthDate) & ")"
to
day(strBirthDate) & " " & monthName(Datepart("m",strBirthDate)) & ")"
Should be around lines 86, 98, and 110. I just tested it on mine and it works. That will change all 3, past, present, and future Bday's. |
Switch the order of your title tags |
Edited by - bobby131313 on 22 March 2006 00:04:25 |
 |
|
DualXeon
Starting Member
4 Posts |
Posted - 22 March 2006 : 14:25:21
|
Thanks a lot!!! |
 |
|
DualXeon
Starting Member
4 Posts |
Posted - 22 March 2006 : 15:37:25
|
I've changed the code. But I still have a little problem. The month format from "Upcoming" is presented as "Mar" and the month format from "Present" and "Today" is presented as "March". How can I change this? |
 |
|
bobby131313
Senior Member
   
USA
1163 Posts |
|
AnonJr
Moderator
    
United States
5768 Posts |
Posted - 22 March 2006 : 16:56:37
|
Depending on how you wanted to do it, there are several functions in VBScript that could be helpful. You can find theme referenced here: http://www.w3schools.com/vbscript/vbscript_ref_functions.asp
Also, you might want to go ahead and bookmark their home page since they are a wonderful reference. 
I'd give an example or two, but to be honest I'm practically brain-dead at this point today. (as opposed to any other day ) |
 |
|
|
Topic  |
|