Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 Date format in OneWayMule Birthday MOD
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

DualXeon
Starting Member

4 Posts

Posted - 21 March 2006 :  18:03:09  Show Profile
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  Show Profile  Visit muzishun's Homepage
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)
Go to Top of Page

bobby131313
Senior Member

USA
1163 Posts

Posted - 22 March 2006 :  00:03:01  Show Profile  Visit bobby131313's Homepage
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
Go to Top of Page

DualXeon
Starting Member

4 Posts

Posted - 22 March 2006 :  14:25:21  Show Profile
Thanks a lot!!!
Go to Top of Page

DualXeon
Starting Member

4 Posts

Posted - 22 March 2006 :  15:37:25  Show Profile
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?
Go to Top of Page

bobby131313
Senior Member

USA
1163 Posts

Posted - 22 March 2006 :  15:45:32  Show Profile  Visit bobby131313's Homepage

Yeah, mine does that too. I'm not sure how to fix that. Hopefully someone else will come along.

Switch the order of your title tags
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 22 March 2006 :  16:56:37  Show Profile  Visit AnonJr's Homepage
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 )
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.34 seconds. Powered By: Snitz Forums 2000 Version 3.4.07