Unit 3. Introduction to Programming

Sahil Sahani
0
Click here to view and download handwritten notes

Click here to view and download notes given by Professor



3 Unit
For Dates: %Y: Four-digit year (e.g., 2023). %y: Two-digit year (e.g., 23 for 2023). %m: Month as a zero-padded decimal number (01, 02, ..., 12). %B: Full month name (e.g., January). %b: Abbreviated month name (e.g., Jan). %d: Day of the month as a zero-padded decimal number (01, 02, ..., 31). For Times: %H: Hour (00, 01, ..., 23). %I: Hour (01, 02, ..., 12). %M: Minute (00, 01, ..., 59). %S: Second (00, 01, ..., 59). %p: AM or PM. %f: Microsecond (000000, 000001, ..., 999999). Other: %a: Abbreviated weekday name (e.g., Mon). %A: Full weekday name (e.g., Monday). %c: Local date and time representation. %x: Local date representation. %X: Local time representation. %j: Day of the year (001, 002, ..., 366). %U: Week number of the year (Sunday as the first day of the week, 00, 01, ..., 53). %W: Week number of the year (Monday as the first day of the week, 00, 01, ..., 53). %Z: Time zone name.

Post a Comment

0 Comments
* Please Don't Spam Here. All the Comments are Reviewed by Admin.
Post a Comment (0)