SQL Server: get meta-Info about LDF-File I am trying to get the timestamp of the first entry in the .LDF file of a live database.
Is there any way to do this?

I already get the first LSN in the LDF using 

SELECT MIN([Current LSN]) 
FROM sys.fn_dblog(NULL,NULL)


This returns a string like 00000064:000000e9:0033. But how can I convert this into a timestamp? The function sys.fn_cdc_map_lsn_to_time throws an error that "cdc.lsn_time_mapping" is not defined. This is not surprising IMO, since CDC is not enabled on the server.

BTW: This is NOT a duplicate of my own question 83446 from last november: I don't have a TRN to parse, but only the .LDF.
This returns a String like '00000064:000000e9:0033'. But how can I convert this into a timestamp?


You can't.  An LSN is not a timestamp, nor does it store any portion of date and/or time in it's bits.

SQL Server does not log the datetime stamp for every logged operation.  It does keep track of these timestamps for transactions, but not for each and every single logged operation.

Note: You are trying to reference a Change Data Capture DMF with sys.fn_cdc_map_lsn_to_time.

I think you are taking the wrong approach to some sort of question that you are trying to answer.  Datetime stamps on transaction log records wouldn't really tell you much, even if it is possible.

Let's take a step back and let us know why you're trying to do this.