[dateFormatter setTimeZone:[NSTimeZone timeZoneForSecondsFromGMT:3600*8]];
“ZIP” is actually an acronym for Zone Improvement Plan
Left refers to the left edge of an item’s alignment rectangle, Bottom refers to the bottom edge of an item’s alignment rectangle, Width refers to the width of an item’s alignment rectangle, and so forth. With constraints, you align these rectangles, define the space between them, and size them.
Leading refers to the edge of the alignment rectangle where words and sentences begin; Trailing refers to the edge where words and sentences end. For left-to-right languages such as English, Leading is the same as Left, whereas in a right-to-left environment such as Hebrew or Arabic, Leading is the same as Right. Similarly, Trailing is the same as Right for English, but Trailing is the same as Left for Hebrew and Arabic. You should use Leading and Trailing to make sure your interface is laid out appropriately in all languages, unless the horizontal position should remain fixed at left or right regardless of the language.
The exponential form is usually used if the value of the constant is either too small or too large. It, however, doesn’t restrict us in any way from using exponential form for other real constants.
Now, if you want to print the Floating point constant in Fractional form then use %f as format specifier and if you want to print it in Exponential form then use %e or %E format specifier. The only difference between %e and %E is that they will print the “e” of the exponential form in lower case and upper case respectively.
But, if you want to print the Floating Point constant in Fractional form when the constant is not very big or very small and in Exponential form when the constant is either very big or very small, then use %g or %G as format The only difference between %g and %G is that they will print the “e” of the exponential form in lower case and upper case respectively. will print in Fractional form when the constant is between .999999 and 999999, but when the constant is not in the range, it will print the constant in Exponential form.