First of all you need Date Of Birth Drop Down Menus for this to work.
Next add the following code to the user unfo page where desired:
<tr>
<td class="tableHeader"> Zodiac Starsign:</td>
<td class="tableDark"> <script type="text/javascript">
/*<![CDATA[*/
var start = '1901';
var dob = new Date("[month] [day], [if:year][year][endif:year][elseif:year]2006[endelse:year]");
var birthyear = dob.getYear();
var month = dob.getMonth();
var day = dob.getDay();
if (month == 0 && day >= 20 || month == 1 && day <= 18) {
document.write("Aquarius");
}
else if (month == 1 && day >= 19 || month == 2 && day <= 20) {
document.write("Pisces");
}
else if (month == 2 && day >= 21 || month == 3 && day <= 19) {
document.write("Aries");
}
else if (month == 3 && day >= 20 || month == 4 && day <= 20) {
document.write("Taurus");
}
else if (month == 4 && day >= 21 || month == 5 && day <= 21) {
document.write("Gemini");
}
else if (month == 5 && day >= 22 || month == 6 && day <= 22) {
document.write("Cancer");
}
else if (month == 6 && day >= 23 || month == 7 && day <= 22) {
document.write("Leo");
}
else if (month == 7 && day >= 23 || month == 8 && day <= 22) {
document.write("Virgo");
}
else if (month == 8 && day >= 23 || month == 9 && day <= 22) {
document.write("Libra");
}
else if (month == 9 && day >= 23 || month == 10 && day <= 21) {
document.write("Scorpio");
}
else if (month == 10 && day >= 22 || month == 11 && day <= 21) {
document.write("Sagittarius");
}
else if (month == 11 && day >= 22 || month == 0 && day <= 19) {
document.write("Capricorn");
}
else {
document.write("Not Applicable");
}
/*]]>*/
</script>
</td>
</tr>
<tr>
<td class="tableHeader"> Chinese Birth Year:</td>
<td class="tableDark"> <script type="text/javascript">
/*<![CDATA[*/
var start = '1901';
var dob = new Date("[month] [day], [year]");
var birthyear = dob.getYear();
var month = dob.getMonth();
var day = dob.getDay();
var yearof = ((start - birthyear) % 12);
if (yearof == 5 || yearof == -7) {
document.write("Rat");
}
else if (yearof == 4 || yearof == -8) {
document.write("Ox");
}
else if (yearof == 3 || yearof == -9) {
document.write("Tiger");
}
else if (yearof == 2 || yearof == -10) {
document.write("Rabbit/Cat");
}
else if (yearof == 1 || yearof == -11) {
document.write("Dragon");
}
else if (yearof == 0) {
document.write("Snake");
}
else if (yearof == 11 || yearof == -1) {
document.write("Horse");
}
else if (yearof == 10 || yearof == -2) {
document.write("Sheep");
}
else if (yearof == 9 || yearof == -3) {
document.write("Monkey");
}
else if (yearof == 8 || yearof == -4) {
document.write("Cock/Phoenix");
}
else if (yearof == 7 || yearof == -5) {
document.write("Dog");
}
else if (yearof == 6 || yearof == -6) {
document.write("Boar");
}
else {
document.write("Not Applicable");
}
/*]]>*/
</script>
</td>
</tr>