Mac Hyp: GetDate Gets the Time and Date a Message Was Sent (58595)



The information in this article applies to:

  • Microsoft Mail Software Development Kit (SDK) for HyperCard 2.0
  • Microsoft Mail Software Development Kit (SDK) for HyperCard 3.0

This article was previously published under Q58595

SUMMARY

To return the time and date that a message was sent, use the following syntax:
   msmail (getDate, messageRef)=>date
				
The time is returned in standard Macintosh format (that is, in seconds since midnight, January 1, 1904). Use the HyperCard command "convert" to change this number into words. For example, use the following syntax:
   put msmail(getDate, messageRef) into sentDate
   convert sentDate to long date
				
"messageRef" is a reference to a selected message returned by GetMessage.

This information is taken from the "Microsoft Mail HyperCard Interface Documentation."

Modification Type:MajorLast Reviewed:10/2/2003
Keywords:KB58595