2011/02/27

�X�N���[���o�[�ɐF���‚���iJavaScript�j

JavaScript�ŊȒP�ɃX�N���[���o�[�ɐF��ς��邱�Ƃ��ł���B
�X�^�C���V�[�g��M�邱�ƂȂ��ς���܂��B

���J���[�X�N���[���o�[
���X�N���[���o�[�̐F��ς���X�N���v�g

����2�‚̃T�C�g�Ŕz�z���Ă܂��B

at 02:54 | Comment(0) | TrackBack(0) | | edit �@re | �� ��TOP
�J�X�^�}�C�Y��JavaScript

2011/02/25

���t�⎞�Ԃ�\��

���݂̔N���������b��\������B
��F2011�N2��25�� ���j�� 5��37��26�b

<script language="JavaScript">
<!--
myTbl = new Array("��","��","��","��","��","��","�y");
myD = new Date();

myYear = myD.getYear()
myYear4 = (myYear < 2000) ? myYear+1900 : myYear;
myMonth = myD.getMonth() + 1;
myDate = myD.getDate();
myDay = myD.getDay();
myHours = myD.getHours();
myMinutes = myD.getMinutes();
mySeconds = myD.getSeconds();

myMess1 = myYear4 + "�N" + myMonth + "��" + myDate + "��";
myMess2 = myTbl[myDay] + "�j��";
myMess3 = myHours + "��" + myMinutes + "��" + mySeconds + "�b";
myMess = myMess1 + " " + myMess2 + " " + myMess3;
document.write( myMess );
// -->
</script>

at 05:52 | Comment(0) | TrackBack(0) | | edit �@re | �� ��TOP
�J�X�^�}�C�Y��JavaScript