-
-
DevelopPlus.net
ขายสคริปต์เว็บไซต์ลงประกาศสินค้า
-
SiamACT.com
เวปไซต์ที่ให้คุณโฆษณาตนเอง
ขายสคริปต์เว็บไซต์ลงประกาศสินค้า
หากว่าคุณต้องการมีเว็บไซต์ลงประกาศสินค้าเป็นของตนเอง
แต่ว่าคุณไม่มความรู้เรื่องการติดตั้งเว็บ ไม่อยากเช่า hosting
โปรดติดต่อมาหาเรา ทางเราจะให้บริการปัญหาเหล่านี้กับท่าน
เวปไซต์ที่ให้คุณโฆษณาตนเอง
SiamACT.com เป็นเวปไซต์ที่ให้คุณสามารถโปรโมท หรือโฆษณาตนเองได้ตามต้องการ
หากคุณมีวิดีโอเกี่ยวกับตัวคุณอยู่แล้วใน YouTube.com และต้องการโฆษณาให้เป็นที่แพร่หลาย
SiamACT.com จะเป็นสื่อกลางของวิดีโอคลิบเหล่านี้
-
-
-
method:Date ();
return type:object
content:ใช้สร้าง object date โดยจะมีค่าวันที่และเวลาปัจจุบัน
example:var my_date = new Date();
-
method:Date ( year, month, day );
return type:object
content:ใช้สร้าง object date โดยจะมีค่าวันที่ตามที่กำหนด และเวลาปัจจุบัน
example:var my_date = new Date( 2008, 05, 22 );
-
method:Date ( year, month, day, hour, minute, second );
return type:object
content:ใช้สร้าง object date โดยจะมีค่าวันที่และเวลาตามที่กำหนด
example:var my_date = new Date( 2008, 05, 22, 24, 48, 52 );
-
method:Date ( "Month Day, Year HH:MM:SS" );
return type:object
content:ใช้สร้าง object date โดยจะมีค่าวันที่และเวลาตามที่กำหนด
example:var my_date = new Date( "June 22, 2008 23:48:52" );
-
method:Date ( "mm/dd/yyyy/HH:mm:ss" );
return type:object
content:ใช้สร้าง object date โดยจะมีค่าวันที่และเวลาตามที่กำหนด
example:var my_date = new Date( "05/22/2008/23:48:52" );
-
method:toDateString ();
return type:string
content:ใช้แสดงวัน เดือน ปี
example:var my_date = new Date();
alert ( my_date.toDateString() );
-
method:toTimeString ();
return type:string
content:ใช้แสดงเวลา
example:var my_date = new Date();
alert ( my_date.toTimeString() );
-
method:toLocaleString ();
return type:string
content:ใช้แสดงวันและเวลา โดยเทียบตามเวลาท้องถิ่น
example:var my_date = new Date();
alert ( my_date.toLocaleString() );
-
method:toLocaleDateString ();
return type:string
content:ใช้แสดงวัน เดือน ปี โดยเทียบตามเวลาท้องถิ่น
example:var my_date = new Date();
alert ( my_date.toLocaleDateString() );
-
method:toLocaleTimeString ();
return type:string
content:ใช้แสดงเวลา โดยเทียบตามเวลาท้องถิ่น
example:var my_date = new Date();
alert ( my_date.toLocaleTimeString() );
-
method:toUTCString ();
return type:string
content:ใช้แสดงวันและเวลา โดยเทียบตามมาตรฐานของ UTC
example:var my_date = new Date();
alert ( my_date.toUTCString() );
-
method:parse ();
return type:number
content:ใช้แปลงวันและเวลาให้เป็น มิลลิวินาที ( แบบ timestamp )
โดยเริ่มนับจากเวลา 00.00 นาฬิกา ของวันที่ 1 มกราคม 1970
example:var my_date = new Date ();
alert ( my_date.parse () );
-
method:UTC ();
return type:number
content:ใช้แปลงวันและเวลา ( ตามมาตรฐานของ UTC ) ให้เป็น มิลลิวินาที ( แบบ timestamp )
โดยเริ่มนับจากเวลา 00.00 นาฬิกา ของวันที่ 1 มกราคม 1970
example:var my_date = new Date ();
alert ( my_date.UTC () );
-
method:getDay ();
return type:number
content:ใช้แสดงตัวเลข วันของสัปดาห์ ( เริ่มจาก 0 คือวันอาทิตย์ )
example:var my_date = new Date ();
alert ( my_date.getDay () );
-
method:getDate ();
return type:number
content:ใช้แสดงวันที่
example:var my_date = new Date ();
alert ( my_date.getDate () );
-
method:getMonth ();
return type:number
content:ใช้แสดงเดือนในรูปแบบตัวเลข ( เริ่มจาก 0 คือมกราคม )
example:var my_date = new Date ();
alert ( my_date.getMonth () );
-
method:getFullYear ();
return type:number
content:ใช้แสดงปีแบบ 4 หลัก ( ค.ศ. )
example:var my_date = new Date ();
alert ( my_date.getFullYear () );
-
method:getYear ();
return type:number
content:ใช้แสดงปีแบบ 2 หลัก ( ค.ศ. )
example:var my_date = new Date ();
alert ( my_date.getYear () );
-
method:getHours ();
return type:number
content:ใช้แสดงชั่วโมง
example:var my_date = new Date ();
alert ( my_date.getHours () );
-
method:getMinutes ();
return type:number
content:ใช้แสดงนาที
example:var my_date = new Date ();
alert ( my_date.getMinutes () );
-
method:getSeconds ();
return type:number
content:ใช้แสดงวินาที
example:var my_date = new Date ();
alert ( my_date.getSeconds () );
-
method:getMilliSeconds ();
return type:number
content:ใช้แสดงมิลลิวินาที
example:var my_date = new Date ();
alert ( my_date.getMilliSeconds () );
-
method:getUTCDay ();
return type:number
content:ใช้แสดงตัวเลขวันของสัปดาห์ ( เริ่มจาก 0 คือวันอาทิตย์ )
โดยเทียบตามมาตรฐานของ UTC
example:var my_date = new Date ();
alert ( my_date.getUTCDay () );
-
method:getUTCDate ();
return type:number
content:ใช้แสดงวันที่ โดยเทียบตามมาตรฐานของ UTC
example:var my_date = new Date ();
alert ( my_date.getUTCDate () );
-
method:getUTCMonth ();
return type:number
content:ใช้แสดงเดือนในรูปแบบของตัวเลข ( เริ่มจาก 0 คือมกราคม )
โดยเทียบตามมาตรฐานของ UTC
example:var my_date = new Date ();
alert ( my_date.getUTCMonth () );
-
method:getUTCFullYear ();
return type:number
content:ใช้แสดงปี 4 หลัก ( ค.ศ. ) โดยเทียบตามมาตรฐานของ UTC
example:var my_date = new Date ();
alert ( my_date.getUTCFullYear () );
-
method:getUTCHours ();
return type:number
content:ใช้แสดงชั่วโมง โดยเทียบตามมาตรฐานของ UTC
example:var my_date = new Date ();
alert ( my_date.getUTCHours () );
-
method:getUTCMinutes ();
return type:number
content:ใช้แสดงนาที โดยเทียบตามมาตรฐานของ UTC
example:var my_date = new Date ();
alert ( my_date.getUTCMinutes () );
-
method:getUTCSeconds ();
return type:number
content:ใช้แสดงวินาที โดยเทียบตามมาตรฐานของ UTC
example:var my_date = new Date ();
alert ( my_date.getUTCSeconds () );
-
method:getUTCMilliSeconds ();
return type:number
content:ใช้แสดงมิลลิวินาที โดยเทียบตามมาตรฐานของ UTC
example:var my_date = new Date ();
alert ( my_date.getUTCMilliSeconds () );
-
method:setDay ( int );
return type:void
content:ใช้กำหนดวันของสัปดาห์ ( นับจาก 0 คือวันอาทิตย์ )
example:var my_date = new Date ();
my_date.setDay ( 3 );
-
method:setDate ( int );
return type:void
content:ใช้กำหนดค่าวันที่
example:var my_date = new Date ();
my_date.setDate ( 28 );
-
method:setMonth ( int );
return type:void
content:ใช้กำหนดค่าเดือน ( นับจาก 0 คือมกราคม )
example:var my_date = new Date ();
my_date.setMonth ( 4 );
-
method:setFullYear ( int );
return type:void
content:ใช้กำหนดค่าปีแบบ 4 หลัก ( ค.ศ. )
example:var my_date = new Date ();
my_date.setFullYear ( 1998 );
-
method:setYear ( int );
return type:void
content:ใช้กำหนดค่าปีแบบ 2 หลัก ( ค.ศ. )
example:var my_date = new Date ();
my_date.setYear ( 98 );
-
method:setHours ( int );
return type:void
content:ใช้กำหนดค่าชั่วโมง
example:var my_date = new Date ();
my_date.setHours ( 23 );
-
method:setMinutes ( int );
return type:void
content:ใช้กำหนดค่านาที
example:var my_date = new Date ();
my_date.setMinutes ( 54 );
-
method:setSeconds ( int );
return type:void
content:ใช้กำหนดค่าวินาที
example:var my_date = new Date ();
my_date.setSeconds ( 36 );
-
method:setMilliSeconds ( int );
return type:void
content:ใช้กำหนดค่ามิลลิวินาที
example:var my_date = new Date ();
my_date.setMilliSeconds ( 36 );
-
method:setUTCDay ( int );
return type:void
content:ใช้กำหนดวันของสัปดาห์ ( นับจาก 0 คือวันอาทิตย์ )
โดยเทียบตามมาตรฐานของ UTC
example:var my_date = new Date ();
my_date.setUTCDay ( 4 );
-
method:setUTCDate ( int );
return type:void
content:ใช้กำหนดวันที่ โดยเทียบตามมาตรฐานของ UTC
example:var my_date = new Date ();
my_date.setUTCDate ( 28 );
-
method:setUTCMonth ( int );
return type:void
content:ใช้กำหนดค่าเดือน โดยเทียบตามมาตรฐานของ UTC
example:var my_date = new Date ();
my_date.setUTCMonth ( 8 );
-
method:setUTCYear ( int );
return type:void
content:ใช้กำหนดค่าปีแบบ 4 หลัก ( ค.ศ. ) โดยเทียบตามมาตรฐานของ UTC
example:var my_date = new Date ();
my_date.setUTCYear ( 1998 );
-
method:setUTCHours ( int );
return type:void
content:ใช้กำหนดค่าชั่วโมง โดยเทียบตามมาตรฐานของ UTC
example:var my_date = new Date ();
my_date.setUTCHours ( 23 );
-
method:setUTCMinutes ( int );
return type:void
content:ใช้กำหนดค่านาที โดยเทียบตามมาตรฐานของ UTC
example:var my_date = new Date ();
my_date.setUTCMinutes ( 47 );
-
method:setUTCSeconds ( int );
return type:void
content:ใช้กำหนดค่าวินาที โดยเทียบตามมาตรฐานของ UTC
example:var my_date = new Date ();
my_date.setUTCSeconds ( 32 );
-
method:setUTCMilliSeconds ( int );
return type:void
content:ใช้กำหนดค่ามิลลิวินาที โดยเทียบตามมาตรฐานของ UTC
example:var my_date = new Date ();
my_date.setUTCMilliSeconds ( 47 );
-
method:getTime ();
return type:number
content:ใช้แสดงจำนวนเต็มของเวลา โดยเริ่มนับจากเวลา 00:00 นาฬิกา
ของวันที่ 1 มกราคม 1970
example:var my_date = new Date ();
alert ( my_date.getTime () );
-
method:getTimezoneOffset ();
return type:number
content:ใช้แสดงค่าความแตกต่างของเวลา ระหว่างเวลาท้องถิ่นกับเวลาตามมาตรฐานของ UTC
( หน่วยเป็นนาที )
example:var my_date = new Date ();
alert ( my_date.getTimezoneOffset () );