This is one of the benefits of using date-time variables to represent dates and durations: they give us the option to change how how the data is displayed without needing to do the conversion arithmetic ourselves. When we used the MTIME format, it knew that 29 hours, 14 minutes is equal to (29*60) + 14 = 1754 minutes. When we used the DTIME format, it knew that 29 hours should "roll over" to 1 day, 5 hours. Notice how in the column of examples, SPSS took the same underlying data and automatically converted the time units based on the formats we chose. You will replace these with the appropriate number to use for the width of the date. The letter w denotes the number of "columns" (typically the number of characters in the input string), and the letter d represents the number of decimal places, if present. Just as with date formats, the "general form" of the format name contains w (or w.d).
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |