Search for notes by fellow students, in your own course and all over the country.

Browse our notes for titles which look like what you need, you can preview any of the notes via a sample of the contents. After you're happy these are the notes you're after simply pop them into your shopping cart.

My Basket

marketing research course£2.50

difference between accounting and finance£2.50

Total£5.00

Title: Learn of How to Code Current GMT Time Zone & String
Description: A Complete Guide in Javascript of How to Code GMT Time Zone & Learn varies type of String

Document Preview

Extracts from the notes are below, to see the PDF you'll receive please use the links above


JavaScript
Javascript, is the programming language of the web
...


Current GMT Time
GMT-Time



function my Function (){

document
...
innerHTML = Date()

}

String:
String uses to store and manipulating the text within “quotation mark"

Rule:

1 - text inside of " ";

example: randStr = "Monday" + " Sunny day “+ Tuesday + " Fuggy day";

plus + signs, concatenating
...


1- length

2 - Index for (chosen a specific word["goes"]);

3 - Slice(1,2)

4 - slice(4)

4 - substring();

5 - replace();

6- At index 2

7 - split(" ");

8 - trim()

9 - toUpperCase();

10 - toLowerCase
...
write("String Length : ", randStr
...
write("Index for \"goes\" : ", randStr
...
write(randStr
...
write(randStr
...
write(randStr
...
write(randStr
...
write("At Index 2 : ", randStr
...
split(" ");
randStr = randStr
...
write(randStr
...
write(randStr


Title: Learn of How to Code Current GMT Time Zone & String
Description: A Complete Guide in Javascript of How to Code GMT Time Zone & Learn varies type of String