getSyncTime

Retrieves the last sync time from shared preferences and returns it in a formatted way. This method handles both cases:

  1. The time stored as a timestamp in milliseconds (preferred).

  2. Backward compatibility where the time is stored in a formatted string.

Return

A formatted sync time string.