how to make a single line field contains date/time and string info?

how to make a single line field contains date/time and string info?

In deal module, there are 'Created By' and 'Modified By' fields that can contain info + Date/Time like this


how to create something like that? I mean, I assume I can only set a string in a Single Line field, not a Date/Time data. so how to make something like that using Deluge Function?